[ale] Sata disk mode query.
Michael B. Trausch
mike at trausch.us
Thu Jan 20 11:44:41 EST 2011
On Thu, 2011-01-20 at 11:37 -0500, Randy Ramsdell wrote:
> Note that the drive sequence letters or what ever can be hard coded in
> udev. So the disk switching etc... is not an issue. Also note the
> using UUID is unique and therefor can be used to mount. This becomes
> particularly important when dealing with iscsi volumes.
But do remember that:
* Drive names will not stay static if the physical drives are
swapped out. IIRC, udev uses serial numbers in order to ensure
that the names are renamed to the expected device node names
prior to the majority of userspace opening the drive.
* UUIDs will only work if you do not use dd images or LVM snapshots
of the volumes housing the filesystems. The upshot is that in the
case of LVM, you get a different way to uniquely address a given
filesystem: /dev/${VOLUME_GROUP}/${LOGICAL_VOLUME} will work, and
will be unique since you cannot have duplicate volume groups or
logical volumes.
* Things outside of udev's control (for example, nbd if it is used)
will have to have their setup order controlled by something in
userspace.
--- Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20110120/53410007/attachment.bin
More information about the Ale
mailing list