On Tue, Apr 08, 2008 at 11:08:11PM -0400, Mitchell Laks wrote: > 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. thats because you have placed the UUID of the parts not the fs system that exists on the raid
try tune2fs -l /dev/md0 and use the UUID from there > > 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] > > -- "After all, a week ago, there were -- Yasser Arafat was boarded up in his building in Ramallah, a building full of, evidently, German peace protestors and all kinds of people. They're now out. He's now free to show leadership, to lead the world." - George W. Bush 05/02/2002 Washington, DC
signature.asc
Description: Digital signature