Re: devfs persistence

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sun Apr 30 2000 - 13:58:06 EST


Stephen Harris writes:
> Richard Gooch (rgooch@ras.ucalgary.ca) wrote:
> : Peter Svensson writes:
> : >
> : > And even for disks it makes sense. You want to mke2fs (or your
> : > filesystem of choise) the correct physical disk. You cannot really
> : > depend on the label in that situation, but a WWN sounds like just
> : > what is needed.
>
> : Or just rely on host,bus,target,lun names. It's fair enough to assume
> : that devices aren't being replugged while you're in the middle of
> : typing "mke2fs"!
>
> I've read the page http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html but
> have a question related to the dynamic nature of devices (eg SAN disks)...
> sorry if it sounds stupid..!
>
> How are block devices without a UUID or similar handled? I'm
> thinking of (say) a database raw device. If I create a datafile on
> a /dev entry (common for Sybase, possible - but not so common these
> days - for Oracle) I need to be assured that the /dev entry always
> points to the same disk partition. There is no equivalent of
> "searching for label or UUID" built into the database code (unlike
> which could be built into "mount"), so where does this leave me? As
> I see it, at best the DBMS could moan and refuse to start, at worst
> it could use a bad disk area and corrupt things!

Andries Brower did some work on adding labels to partitions. This is
apparently available already. I haven't looked into how this actually
works, but I will.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:18 EST