On Wed, Mar 14, 2007 at 04:57:51PM -0700, Steve Langasek wrote: > > >, it changes if you change the SCSI/IDE bus address > > > of the drive > > the same applied in the old hd? and sd? days, drives names changing when > > you change thier IDE/SCSI ids is something admins expect and are used to. > Um. Have you ever even used SCSI?
Someone which uses scsi-over-fc have much better identification, the wwnn,
which is used in by-id:
| $ ls -al /dev/disk/by-id/scsi-320000020371a*
| lrwxrwxrwx 1 root root 9 Mar 2 23:24 /dev/disk/by-id/scsi-320000020371a2f24
-> ../../sda
| lrwxrwxrwx 1 root root 10 Mar 2 23:24
/dev/disk/by-id/scsi-320000020371a2f24-part1 -> ../../sda1
| lrwxrwxrwx 1 root root 10 Mar 2 23:24
/dev/disk/by-id/scsi-320000020371a2f24-part2 -> ../../sda2
> Well, some of us have, and I don't think any admin of such systems enjoys
> having to fix /etc/fstab by hand.
Also many fc-users wants multipath anyway, which also uses the wwnn for
identification.
> Using dd to back up a partition to another isn't a very sensible backup
> schema anyway. I think more people move PCI devices than back up systems
> this way...
It is widely used in form of snapshots.
> What does the kernel do when it finds two filesystems with colliding uuids?
> Ideally, to avoid any accidents, it should rename them both. With that fix
> (if indeed it needs fixing), I think all the main problems of by-uuid go
> away.
It does nothing special. This is completely userspace. And current udev just
uses the last seen one, which is usualy the removable device in this case.
Bastian
--
Every living thing wants to survive.
-- Spock, "The Ultimate Computer", stardate 4731.3
signature.asc
Description: Digital signature

