The UUID
seen in mdadm.conf
are related to the MD drivers.
The UUID
used in fstab
are related to filesytems.
What you need are the filesystem UUID numbers. You can get them with a command line
sudo dumpe2fs /dev/md0 | grep UUID
So in my case:
$ grep md/0 /etc/mdadm/mdadm.conf ARRAY /dev/md/0 metadata=1.2 UUID=d634adc8:69deedd8:d491a79e:69aeff78 $ sudo dumpe2fs /dev/md0 | grep UUID dumpe2fs 1.42.12 (29-Aug-2014) Filesystem UUID: 195237da-8825-45fb-abf7-a62895bd0967 $ grep boot /etc/fstab UUID=195237da-8825-45fb-abf7-a62895bd0967 /boot ext4 defaults 0 2
So we can see the UUID used is the filesystem UUID and not the MD UUID.
Your truly,
Tiruchirappalli Sivashanmugam
Tiruchirappalli Sivashanmugam