Red Hat Installation - redhat 9 raid problems using e2label

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Installation > January 2006 > redhat 9 raid problems using e2label





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author redhat 9 raid problems using e2label
rk164

2006-01-04, 6:27 pm

Hi,

I have setup a raid 1 on a redhat 9 box. It seems to work but I am
having problems getting it to mount at boot when using LABEL= in /etc/fstab.

I used the following commands to create the raid:

mkfs.ext3 /dev/hdb1
mkfs.ext3 /dev/hda4
mkraid -R /dev/md0
mkfs.ext3 /dev/md0

I added this to /etc/fstab and it gets mounted at boot:
/dev/md0 /home/rk ext3 defaults 1 2

Then I added a label using:
e2label /dev/md0 /home/rk

and changed the line in fstab:
LABEL=/home/rk /home/rk ext3 defaults 1 2

This does not work. I have no idea what is going on here. Any help or
thoughts would be appreciated?

My /etc/raidtab looks like this:

raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/hda4
raid-disk 0
device /dev/hdb1
raid-disk 1

Thanks in advance
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com