Michael Tokarev wrote:
michael@xxxxxxxxxxx wrote:
[]
mdadm --detail /dev/md0 | grep UUID
UUID : 3531a48d:1180bdf3:bfcd9e76:5b7e5957
This is a RAID (md) -- i.e., device, UUID. Think of it
as of disk drive serial number for example -- look at
/dev/disk/by-id/.
mount -U 3531a48d:1180bdf3:bfcd9e76:5b7e5957 /mnt
mount: no such partition found
And mount expects *filesystem* UUID, not a device UUID.
I.e., the UUID which was written by mkfs. For a ext[234]fs,
tune2fs -l /dev/md0 will show it; for other filesystems
use appropriate tools.
I understand. I was trying this based on a suggestion further back in
this thread.
Using the filesystem ID doesn't work either because /dev/sda, /dev/sdb,
and /dev/md0 all have the same UUID since it is a mirror. How do you
tell the system to mount /dev/md0 and not the individual drives which is
what it is trying to do now.
Michael
--
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