[CentOS] Controlling the order of /dev/sdX devices?

Fri Apr 1 13:50:49 UTC 2011
Brunner, Brian T. <BBrunner at gai-tronics.com>

centos-bounces at centos.org wrote:
> Nope sir.  Assume never the same device twice and no control
> over those devices, so UUID is out of the question.

UUID is out of the question where I have 3 drives (main and two backup)
with "wear leveling" wherein ANY of the drives, put in /dev/sda's
position, is the boot drive, the identical backup on /dev/sdb will get
backed-up-to on a daily basis, and on a weekly basis the drive in
/dev/sdb moves to /dev/sda's connector (becoming the boot drive),
'/dev/sda' goes off-site, and the third moves to /dev/sdb's position
(and gets backed-up-onto promptly.

LABEL also fails here.

> Yes, that's why you assign a LABEL to the device :) If the
> same hard drive gets used on the same server, but on random
> ports every time then the LABEL will still stay the same. I
> have a similar setup where I mount about 40-odd USB drives to
> a server on a regular basis. They each have their own mount
> points in /mnt/usb-hdd/xxxxxxxxxx and irrespective of which
> drive I connect to which USB port, or on which order, they
> all get mounted where they're supposed to :)

This is excellent where each drive has distinct content.

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**