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

Cal Sawyer Cal.Sawyer at artsalliancemedia.com
Fri Apr 1 10:08:41 UTC 2011


Nope sir.  Assume never the same device twice and no control over those
devices, so UUID is out of the question.

 

thank you,

 

- csawyer

 

 

From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
Behalf Of Rudi Ahlers
Sent: 01 April 2011 09:24
To: CentOS mailing list
Cc: Cal Sawyer
Subject: Re: [CentOS] Controlling the order of /dev/sdX devices?

 

 

On Fri, Apr 1, 2011 at 9:54 AM, Cal Sawyer
<Cal.Sawyer at artsalliancemedia.com> wrote:

Apologies in advance for excerpting or leaving out the messages sent to
the list as i was in digest mode so got them all in one lump.

Rudi Ahlers:


You could assign a LABEL to each hard drive. The LABEL is attached to
the
drive's UID (I think?) so even if you move the drive to anther port it
will
still be accessible via the same LABEL

> Unfortunately, the removable devices are utterly random and rarely if
ever the same device seen twice.

 

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 :) 


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110401/549049f3/attachment.html>


More information about the CentOS mailing list