RE: [PATCH] scsi/mptsas: add RAID devices in ascending ID order

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

 



On Friday, September 22, 2006 8:58 AM, Martin Wilck wrote: 

> 
> From: Martin Wilck <Martin.Wilck@xxxxxxxxxxxxxxxxxxx>
> 
>     [SCSI] mptsas: add RAID devices in ascending ID order
>     
>     This patch fixes the order in which mptsas registers
>     RAID devices with the SCSI mid layer. The VolumeID field
>     is not in ascending order. This leads to situations where
>     e.g. device 2:8:2:0 is registered before 2:8:0:0.
>     
>     That may lead to an unbootable system e.g. if a user installs
>     on a two-disk RAID1 array and adds another 2-disk RAID1 later
>     (the new array will be detected as sda, the old one as sdb).
>     
>     The patch makes sure that arrays are added in ascending
>     VolumeID order.
> 

Rejected.  

Ascending ID ordering does not address all cases. 
There is no guarantee which target ids are 
assigned by firmware to volumes when
volumes are created.   I've made similar 
ordering proposals before to this mailing list. 
All been rejected.

I suggest that you not map your devices
to /dev/sda, but instead use persistent
device labels or names.  Most distro's
now days ship with Logical Volume Manager
that does this for you.

Here is a link on udev:

http://en.wikipedia.org/wiki/Udev


Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux