Re: Problem with random disks mount sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim wrote:
> On Wed, 2007-12-12 at 09:36 +0100, wwp wrote:
>> That still doesn't explain why the order of mounting (and of scsi
>> discovering?) is shuffled 
> 
> I'm sure it was explained somewhere in this thread.  The device names
> are named in the order that the BIOS discovers them.  If it checks the
> USB ports first, they get the names first.
> 
A slight correction. It is not the BIOS oder that determines the of
the drives under Linux. It is the kernel. What I would expect to
happen is that you would only have the drivers for the drive with
root file system loaded in the initrd, and the scan order would
always be the same unless you physically change drive connections or
add drives. (Or use a kernel parameter to change the order.)

With SATA drives and USB drives, the USB drive should always be
discovered later then the  SATA drive because the usb_storage driver
should not be loaded until after the root file system is mounted.
                                                      But if the
usb_storage module is in the initrd, then things are not as clear.
It should still find things in the same order, but in this case, it
isn't.

One other thing that I should have commented on earlier - there is
nothing that says that the root file system has to be on the first
SCSI drive, so the system can use that in determining what drive
should be /dev/sda. It used to be fairly common in dual boot systems
to have Window on the first drive, and Linux on the second drive.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux