Re: Confused about UUID mounting and mirrors

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

 



michael@xxxxxxxxxxx wrote:
Hello,

This confuses mount at boot time.

How to I get it to correctly find md0 and not the components of the mirror?


You mean you mount by /dev/disk/by-uuid/* ?

The 0.9x or 1.0 superblocks (the ones working nicely with grub and raid1) are placed at the end of the device, thus existing filesystem can be detected both from /dev/sd{a,b}1 and /dev/md0.

In such case, you will have to adjust udev rules, so sd{a,b}1 filesystem uuid symlinks will not be created, or will be overwritten by the symlink to /dev/md0.

You can achieve the latter with higher link_priority in OPTIONS, in your udev rules.

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux