Re: Static assignment of SCSI device names?

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



On 1/27/2011 2:41 PM, Chuck Munro wrote:
>
> Identifying drives by their ID string (which includes the drive's serial
> number) and assigning names in the rules works ok.   BUT, what happens
> when I have to swap out a failed drive?  The serial number (and possibly
> model number) changes, and the udev assignment should fail, probably
> assigning an unexpected /dev/sd? name.  RAID rebuild would choke until I
> change the MD device assignment.

If you can figure things out for the initial md device creation, 
subsequent assembly uses the uuid to match up the members and doesn't 
care if the disks have been moved around either physically or by 
detection order.  And if you are hot-swapping drives and rebuilding 
manually, you should be able to find the just-assigned name with 'dmesg'.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx

_______________________________________________
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