Re: Controlling the order of /dev/sdX devices?

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



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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Rudi Ahlers
Sent: 01 April 2011 09:24
To: CentOS mailing list
Cc: Cal Sawyer
Subject: Re: Controlling the order of /dev/sdX devices?

 

 

On Fri, Apr 1, 2011 at 9:54 AM, Cal Sawyer <Cal.Sawyer@xxxxxxxxxxxxxxxxxxxxx> 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux