Hello all, as from before I'm still having some problems with setting up
root+boot+raid I have gotten much further than before
but still I'm having some problems. I switched to Redhat 6.2 from 6.1 and
now once I mkraid /dev/md0 and md1 and run mke2fs on
both, I then get a mount error when mounting the two mdx devices.
mount /dev/md0 /test
mount: wrong fs type, bad option, bad superblock on /dev/md0,
or too many mounted file systems
With redhat 6.1 I didn't get the above error. Also when I tried to restart
the raid once I ran raidstop I get an error
raidstart /dev/md0
/dev/md0: Invalid option
I did get the above error when restarting raid devices on Redhat 6.1
Anyone have a clue as to where I'm going wrong?
Thanks in advance,
Robert
[EMAIL PROTECTED]
1) /etc/raidtab looks like this:
# raidtab
#
# root partition
#
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
persistent-superblock 1
chunk-size 32
nr-spare-disks 0
device /dev/sda5
failed-disk 0
device /dev/sdb5
raid-disk 1
device /dev/sdc5
raid-disk 2
# boot partition
#
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
persistent-superblock 1
chunk-size 32
nr-spare-disks 0
device /dev/sda1
failed-disk 0
device /dev/sdb1
raid-disk 1
#
---------------------------------------------------------------------------
2) /etc/Lilo.conf, Lilo.conf.sda, Lilo.conf.sdb Look like this:
# /etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux
image=/boot/vmlinuz-2.2.14-5.0
label=linux
initrd=/boot/initrd-2.2.14-5.0.img
read-only
root=/dev/sda5
---------------------------------------------
# /etc/lilo.conf.sda
# lilo.conf.sda
# GLOBAL SECTION
#device containing /boot directory
disk=/dev/md0
# geometry
bios=0x80
sectors=32
heads=64
cyclinders=17510
#dummy
partition=/dev/md1
# start of device "disk" above
start=32
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=LinuxRaid
image=/boot/vmlinuz-2.2.14-5.0
label=LinuxRaid
initrd=/boot/initrd-2.2.14-5.0.img
read-only
root=/dev/md0
---------------------------------------------
# /etc/lilo.conf.sdb
# lilo.conf.sdb
# GLOBAL SECTION
#device containing /boot directory
disk=/dev/md0
# geometry
bios=0x80
sectors=63
heads=255
cyclinders=2232
#dummy
partition=/dev/md1
# start of device "disk" above
start=63
boot=/dev/sdb
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=LinuxRaid
image=/boot/vmlinuz-2.2.14-5.0
label=LinuxRaid
initrd=/boot/initrd-2.2.14-5.0.img
read-only
root=/dev/md0
#---------------------------------------------------------------------------
---------
Also here is the ouput of fdisk -ul on all three drives.
Disk /dev/sda: 64 heads, 32 sectors, 17510 cylinders
Units = sectors of 1 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 32 34815 17392 83 Linux
/dev/sda2 34816 35860479 17912832 5 Extended
/dev/sda5 34848 35262463 17613808 83 Linux
/dev/sda6 35262496 35788799 263152 82 Linux swap
Disk /dev/sdb: 255 heads, 63 sectors, 2232 cylinders
Units = sectors of 1 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 48194 24066 fd Linux raid autodetect
/dev/sdb2 48195 35857079 17904442+ 5 Extended
/dev/sdb5 48258 35278739 17615241 fd Linux raid autodetect
/dev/sdb6 35278803 35808884 265041 82 Linux swap
Disk /dev/sdc: 255 heads, 63 sectors, 2232 cylinders
Units = sectors of 1 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 48194 24066 83 Linux
/dev/sdc2 48195 35857079 17904442+ 5 Extended
/dev/sdc5 48258 35278739 17615241 fd Linux raid autodetect
/dev/sdc6 35278803 35808884 265041 82 Linux swap
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]