You are not logged in.

#1 2005-05-05 02:49:32

From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280

fstab won't mount mirrored volume? (mounts in rc.local)

I created a RAID 1 array accross sda1 and sdb1, using mdadm:

mdadm --create /dev/md/0 --level=1 --raid-devices=2 /dev/sd[ab]1
mkreiserfs /dev/md/0

When I automount /dev/md/0:

/dev/md/0 /home reiserfs defaults 0 0

I go into the recovery console (dammit if it didn't take me a year to even figure out that this was caused by an invalid fstab entry).  I have to add the nomount option, and add to /etc/rc.local:

mount -t reiserfs /dev/md/0 /home

I see other people's examples that don't do this?  What am I leaving out?



Board footer

Powered by FluxBB