-----BEGIN PGP SIGNED MESSAGE-----


Hi folks --

I've been experimenting with RAID, using kernel 2.4 on RH7.  It works
quite well, but documentation is definitely lacking, so perhaps
someone more experienced with Linux RAID could show me a graceful way
to restore a member of a RAID-1 array?

I simulated a failure by removing power to one of the two 45G IDE
disks in the array, and the system kept a'pluggin' very nicely.
I then wiped the "failed" disk and tried to re-sync it, and there went
my evening.  What I've read suggests that I should be able to simply
plug in a blank disk at the same device location, and the kernel
should figure out what's happening and resync, but that didn't happen.

When the blank disk didn't work, I tried re-creating the original
partition structure on it.  Tried adding it both with and without a
filesystem created on it.  Errors ranged from silently ignoring the
disk, to complaints about a bad superblock.  When I was able to start
md0 and mount it at all, /proc/mdstat consistently only showed one
device -- the one which still contained data.  Worst of all, the
documentation I found online frequently referred to commands or flags
which are now deprecated and didn't work.

I finally made it work by replacing the entry for the failed device
with /dev/null in /etc/raidtab, entering a new device as a spare, then
using 'raidhotadd' to load the spare.  Is there a smarter way?

Thank you kindly -d

- -- 
David Talkington
Prairienet
[EMAIL PROTECTED]
217-244-1962

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBOmUob71ZYOtSwT+tAQGe5Af9FESm6w9b5uzGXoBXho5OhF1mbChmjqph
reLGQsZapSX3WxoucpIlX9I2CvTrbP4BYU0HVh/Aod/ObAb3ZQFcwkA0mNBZyPDP
OlHtMfTiX4YAFxzwWsBM2cb+UefQL6A2G/q6BuDPQtl8qczt/QH9RIAEDMJew2b7
GcrC5Z4e/GsLtvJiHzSRO2FdMpEBlqQCzFjK3mD09gr8OEzT52r1uNC9FdH9KOG6
Ag4D8RHgKfgkoA0uvyNy/pWBOqVYIJJm/N1l4G53g7oIXiUuB5ooZR4X6czK6zvv
Wo+2OnBVCiC199m4Ilf5eYZJL2lqo9UCI2hTSLaEnnqq/hvhpuqLRw==
=6BHX
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to