Re: Confused about UUID mounting and mirrors

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

 



David Greaves wrote:
michael@xxxxxxxxxxx wrote:
UUID=8e651838-38c1-4783-8bde-4174ec484d52 /     ext3    defaults  1 1
UUID=aaeca70c-f0fe-470c-b631-87248648d275 /export xfs defaults,nobarrier
1 2
UUID=6e22c5b0-2874-4826-a871-ed733f8da643 swap swap    defaults   0 0
UUID=323cd094-4cbe-4c3b-9096-366c05465e7c /export/services xfs defaults 1 2

so it is referring to the UUID of the filesystem and not necessarily the
device.  Some are single partitions, some md devices, and some sit on
top of LVM.

What does :
  mdadm --detail /dev/md0 | grep UUID
show?

I think it will give you the UUID of the md device, not the fs on the md device
(which as you have seen is also the UUID of the fs visible on the md components)


That does return a UUID, but it is a slightly different format

mdadm --detail /dev/md0 | grep UUID
           UUID : 3531a48d:1180bdf3:bfcd9e76:5b7e5957

versus something like:

6e22c5b0-2874-4826-a871-ed733f8da643

I tried adding it to /etc/fstab as well as just using mount -U <uuid> and both fail complaining that:

mount -U 3531a48d:1180bdf3:bfcd9e76:5b7e5957 /mnt
mount: no such partition found

I tried replacing the : with - to match the format in /etc/fstab with no success.

mount -U 3531a48d-1180bdf3-bfcd9e76-5b7e5957 /mnt
mount: no such partition found


I also tried formatting it the same in terms of the - location

mount -U  3531a48d-1180-bdf3-bfcd-9e765b7e5957 /mnt
mount: no such partition found


Is anyone mounting a mirrored /boot using UUID's?

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

[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