Shifting mount points for drives

Jeffrey Ollie jeff at ocjtech.us
Tue May 20 12:25:13 UTC 2008


On Tue, May 20, 2008 at 7:08 AM, Jon Ciesla <limb at jcomserv.net> wrote:
>
>> For some reason, the two HDDs keep getting shifted in their drive
>> numbers.
>>
>> Any clues as to why this would be?

Because device nodes like /dev/sd* get assigned depending on the order
in which the kernel loads device drivers and in which order the device
drivers discover the drives.  The ordering has never been guaranteed
to be the same, it's just much more noticeable now that much more
stuff is hot-pluggable.

> No, but the best solution is to have fstab refer to them by label, not
> device name.  I can't remember when this took effect, the little man on my
> shoulder says maybe fc7?

Even better is to refer to drives in fstab by UUID.  Labels aren't
unique, which can be a problem if you need to move disks between
different systems.  Mounting filesystems by UUID is supposed to happen
by default if you install with F9.

Jeff




More information about the fedora-devel-list mailing list