Hi,

Someone recently talked about using 
ls -l /dev/disk/by-uuid

to figure out the correct UUID to put into /etc/fstab
for hard drives. 

I have /home on a raid1 /dev/md0 which is composed of two drive partitions
/dev/sda1
/dev/sdb1

Now in /etc/mdadm/mdadm.conf
I have:
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=3cfd16a0:6eaa64dd:0dfcf1b5:2690c9eb

Now, I thought to try that UUID, but when I tried that 
and put the line  
/etc/fstab
using

http://linuxbasics.org/tutorials/during/uuid_naming?rev=1207514451

thus
UUID=3cfd16a0:6eaa64dd:0dfcf1b5:2690c9eb  /home ext3 defaults,errors=remount-ro 
     0       1

It was a real bust and dropped me into control d  boot land. I then fixed it 
/etc/fstab back to /dev/md0 and all was ok.

So that must be the UUID for the individual /dev/sda1 and /dev/sdb1.

What is the UUID for the raid1 itself?

Thanks.
Mitchell




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to