I have successfully set up a raid-1 array as my root partition
using the latest tools and patches with kernel 2.2.7.
I have a couple of questions:
1) I removed power to the one drive for a while to verify
operation. I restored power and rebooted but it's not
reconstructing the array. Is there a way to force this ?
Here are the kernel messages:
autodetecting RAID arrays
(read) hda3's sb offset: 6144768 [events: 00000029]
(read) hdc3's sb offset: 6153280 [events: 0000001d]
autorun ...
considering hdc3 ...
adding hdc3 ...
adding hda3 ...
created md0
bind<hda3,1>
bind<hdc3,2>
running: <hdc3><hda3>
now!
hdc3's event counter: 0000001d
hda3's event counter: 00000029
md: superblock update time inconsistency -- using the most recent one
freshest: hda3
md: kicking non-fresh hdc3 from array!
unbind<hdc3,1>
export_rdev(hdc3)
md0: max total readahead window set to 128k
md0: 1 data-disks, max readahead per data-disk: 128k
raid1: device hda3 operational as mirror 0
raid1: md0, not all disks are operational -- trying to recover array
raid1: raid set md0 active with 1 out of 2 mirrors
md: updating md0 RAID superblock on device
hda3 [events: 0000002a](write) hda3's sb offset: 6144768
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded mode
md: recovery thread finished ...
.
... autorun DONE.
Any ideas ?? I noticed a "--force-resync" option in mkraid but it's not
documented in the man page.
2) The redhat rc.sysinit script trys to fsck the root partition twice,
the second time when it's mounted. I have no idea why it does this
for a /dev/md0 root and not a regular partition.
3) I created seperate /boot partitions to contain System.map and vmlinuz.
The are not mounted by default. I also copied the files to /boot on the
root partition but I still get tons of "/boot/System.map is not parsable as ..."
messages when I start and shutdown.
4) Just out of curiosity, does anyone know why to identical drives would
come up with different geometries. I think the BIOS is setting hda in
tranlation mode, and leaving hdc alone. Is there any way to force linux
to overide the BIOS and use the real geometries on both?
TIA
Doug