Labeling Multipath drives
Michael ODonnell
michael.odonnell at comcast.net
Wed Mar 18 10:00:18 EDT 2009
This sounds similar to the problems you'd see if you did this:
mdadm --create --level=1 --raid-devices=2 /dev/md0 /dev/sda1 /dev/sdb1
mkfs.ext3 -L HiMom /dev/md0
...and you then prepared an fstab line that referenced that device by
its label, thus:
LABEL=HiMom / ext3 defaults 1 1
That is: you've mirrored multiple partitions by assembling them into
a RAID1 (accessed via /dev/md0) and then written a filesystem with a
label into /dev/md0. The reference to that label in the fstab confuses
the kernel because of the (apparently) duplicate labels it finds in the
mirrored partitions. Is there a way to refer to filesystems in a RAID
this way by label rather than by explicit /dev node?
More information about the gnhlug-discuss
mailing list