Re-ordering disks on boot

Ed Wilts ewilts at ewilts.org
Wed Jun 16 17:50:09 UTC 2004


On Wed, Jun 16, 2004 at 10:14:10AM -0500, Joseph Hardin wrote:
> I am running RHEL3.0 update1 and I am having a problem with my disk
> ordering.
> 
> >From a support perspective I need to be able to force redhat to
> recognize my local disks as /dev/sda and /dev/sdb and my san disk as
> /dev/sdc. I have tried this through modules.conf, however, I am not
> having much luck.

I do not believe that you can change the device ordering, nor do you
really want to (imagine if you booted without your HBAs working for
example).  What you want to do, IMHO, is use e2label to write disk
labels on all your volumes and mount by that.

You can also use devlabel to get the disks appear to be in the order you
want, but you can't influence the order they're presented to the OS.  

I think what you really want is to be able to mount the right volume on
the right mount point and either approach will work for that.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program





More information about the redhat-list mailing list