Hi -
I just
installed RedHat 6.0, which appears to have the 0.90 version of the raidtools
installed by default. My boot disk is separate from the RAID. I
created a RAID0 spanning two 9gb drives, and it works fine, as long as I
manually go in and to a raidstart and a mount after booting. During the
init scripts, it does try to start and mount the RAID, but fails. How do I get this
partition to autostart and mount? Thanks!
Rob
McPeak (Linux Newbie)
Here
are the relevant messages from dmesg:
----------------------------------------
autodetecting RAID arrays
(read) hdb1's sb offset: 9873216 [events: 0000000c]
(read) hdd1's sb offset: 9873216 [events: 0000000c]
autorun ...
considering hdd1 ...
adding hdd1 ...
adding hdb1 ...
created md0
bind<hdb1,1>
bind<hdd1,2>
running: <hdd1><hdb1>
now!
hdd1's event counter: 0000000c
hdb1's event counter: 0000000c
request_module[md-personality-2]: Root fs not mounted
do_md_run() returned -22
unbind<hdd1,1>
export_rdev(hdd1)
unbind<hdb1,0>
export_rdev(hdb1)
md0 stopped.
... autorun DONE.
(read) hdb1's sb offset: 9873216 [events: 0000000c]
(read) hdd1's sb offset: 9873216 [events: 0000000c]
autorun ...
considering hdd1 ...
adding hdd1 ...
adding hdb1 ...
created md0
bind<hdb1,1>
bind<hdd1,2>
running: <hdd1><hdb1>
now!
hdd1's event counter: 0000000c
hdb1's event counter: 0000000c
request_module[md-personality-2]: Root fs not mounted
do_md_run() returned -22
unbind<hdd1,1>
export_rdev(hdd1)
unbind<hdb1,0>
export_rdev(hdb1)
md0 stopped.
... autorun DONE.
<snip>
autorun ...
considering hdd1 ...
adding hdd1 ...
adding hdb1 ...
created md0
bind<hdb1,1>
bind<hdd1,2>
running: <hdd1><hdb1>
now!
hdd1's event counter: 0000000c
hdb1's event counter: 0000000c
raid0 personality registered
mask fffffffc
rdev->size: 9873216
masked rdev->size: 9873216
new md_size: 9873216
rdev->size: 9873216
masked rdev->size: 9873216
new md_size: 19746432
md0: max total readahead window set to 256k
md0: 2 data-disks, max readahead per data-disk: 128k
raid0: looking at hdb1
raid0: comparing hdb1(9873216) with hdb1(9873216)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at hdd1
raid0: comparing hdd1(9873216) with hdb1(9873216)
raid0: EQUAL
raid0: FINAL 1 zones
zone 0
checking hdb1 ... contained as device 0
(9873216) is smallest!.
checking hdd1 ... contained as device 1
zone->nb_dev: 2, size: 19746432
current zone offset: 9873216
done.
raid0 : md_size is 19746432 blocks.
raid0 : conf->smallest->size is 19746432 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md0 RAID superblock on device
hdd1 [events: 0000000d](write) hdd1's sb offset: 9873216
hdb1 [events: 0000000d](write) hdb1's sb offset: 9873216
.
... autorun DONE.
considering hdd1 ...
adding hdd1 ...
adding hdb1 ...
created md0
bind<hdb1,1>
bind<hdd1,2>
running: <hdd1><hdb1>
now!
hdd1's event counter: 0000000c
hdb1's event counter: 0000000c
raid0 personality registered
mask fffffffc
rdev->size: 9873216
masked rdev->size: 9873216
new md_size: 9873216
rdev->size: 9873216
masked rdev->size: 9873216
new md_size: 19746432
md0: max total readahead window set to 256k
md0: 2 data-disks, max readahead per data-disk: 128k
raid0: looking at hdb1
raid0: comparing hdb1(9873216) with hdb1(9873216)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at hdd1
raid0: comparing hdd1(9873216) with hdb1(9873216)
raid0: EQUAL
raid0: FINAL 1 zones
zone 0
checking hdb1 ... contained as device 0
(9873216) is smallest!.
checking hdd1 ... contained as device 1
zone->nb_dev: 2, size: 19746432
current zone offset: 9873216
done.
raid0 : md_size is 19746432 blocks.
raid0 : conf->smallest->size is 19746432 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md0 RAID superblock on device
hdd1 [events: 0000000d](write) hdd1's sb offset: 9873216
hdb1 [events: 0000000d](write) hdb1's sb offset: 9873216
.
... autorun DONE.