UUID - raid Labels - blkid vs mdadm

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

 



hi,

http://docs.fedoraproject.org/release-notes/f8/en_US/sn-Installer.html#sn-IDE-RAID
5.3.2ff  Disk partitions must be labeled



this is a actually a F7 box and in a few days F8.

1;
is it normal that the blkid UUID from the "first raid1 device" /dev/sdc1 == /dev/md0 but only /dev/sdc1 has the Label given with `e2label /dev/md0 /MD0` (raid1 = sdc1, sdd1, sde1) ?
what will happen if the first raid-device is not available ?


# blkid  /dev/md0  /dev/sdc1
/dev/md0: UUID="6a69e976-f945-4f7e-bda1-1859ac88211a" SEC_TYPE="ext2" TYPE="ext3" LABEL="/MD0" /dev/sdc1: UUID="6a69e976-f945-4f7e-bda1-1859ac88211a" SEC_TYPE="ext2" TYPE="ext3" LABEL="/MD0"

# blkid /dev/sd[c-e]*    (all "fd" "Linux raid autodetect")
/dev/sdc1: UUID="6a69e976-f945-4f7e-bda1-1859ac88211a" SEC_TYPE="ext2" TYPE="ext3" LABEL="/MD0"
/dev/sdc2: UUID="d4f1c85a-4eb2-a60e-9dc7-ce80bc7ad982" TYPE="mdraid"
/dev/sdc3: UUID="c5d37357-a4e1-e3f1-cc2c-1fae6b79333a" TYPE="mdraid"
/dev/sdd1: UUID="9b492dca-064e-36ff-e1cd-397c109f4227" TYPE="mdraid"
/dev/sdd2: UUID="d4f1c85a-4eb2-a60e-9dc7-ce80bc7ad982" TYPE="mdraid"
/dev/sdd3: UUID="c5d37357-a4e1-e3f1-cc2c-1fae6b79333a" TYPE="mdraid"
/dev/sde1: UUID="9b492dca-064e-36ff-e1cd-397c109f4227" TYPE="mdraid"
/dev/sde2: UUID="d4f1c85a-4eb2-a60e-9dc7-ce80bc7ad982" TYPE="mdraid"
/dev/sde3: UUID="c5d37357-a4e1-e3f1-cc2c-1fae6b79333a" TYPE="mdraid"



2;
is it normal that `blkid` and `mdadm --examine --scan` (mdadm.conf) give different UUIDs for the raid-devices ?

# mdadm --examine --scan  ;  blkid  /dev/md*
ARRAY /dev/md0 level=raid1 num-devices=3 UUID=ca2d499b:ff364e06:7c39cde1:27429f10 ARRAY /dev/md1 level=raid5 num-devices=3 UUID=5ac8f1d4:0ea6b24e:80cec79d:82d97abc ARRAY /dev/md2 level=raid5 num-devices=3 UUID=5773d3c5:f1e3e1a4:ae1f2ccc:3a33796b /dev/md0: UUID="6a69e976-f945-4f7e-bda1-1859ac88211a" SEC_TYPE="ext2" TYPE="ext3" LABEL="/MD0" /dev/md1: UUID="85967ce2-4c64-44ca-a70c-68ef1937f53b" SEC_TYPE="ext2" TYPE="ext3" LABEL="DATA1" /dev/md2: UUID="e2c4dbc4-1ce8-4571-93f2-e98f2246521e" SEC_TYPE="ext2" TYPE="ext3" LABEL="DATA2"

# mdadm -D /dev/md0
[...]
Raid Level : raid1
UUID : ca2d499b:ff364e06:7c39cde1:27429f10
Number   Major   Minor   RaidDevice State
0       8       33        0      active sync   /dev/sdc1
1       8       49        1      active sync   /dev/sdd1
2       8       65        2      active sync   /dev/sde1

--
shrek-m

--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux