# # # Date: Wed, 21 Nov 2001 11:28:46 +1100 (EST) # From: Neil Brown # To: "Bjarni R. Einarsson" # Cc: linux-raid@vger.kernel.org # Subject: Re: Ugly RAID5 crash - help? # ..... # Get and compile http://www.cse.unsw.edu.au/~neilb/source/mdctl/mdctl-0.5.tgz and run mdctl --assemble --force /dev/md2 /dev/hda6 /dev/hde6 /dev/hdg6 Without the --force, it will notice the event counter problems and fail. With the --force, it will correct the event counter of hdg6 to 64, and then assemble the array with just one missing drive. # # # ---------------------- # mdctl --examine # # Remake your RAID-1: mdctl --stop /dev/md1 mdctl --create /dev/md1 --level=1 -n 2 /dev/sda1 /dev/sdb1 lilo # # # Testing mirroring # ----------------- # - Stop writing to it for now - Simulate a failed disk mdctl --fail /dev/md0 /dev/sdb1 - Remove the failed disk mdctl --remove /dev/md0 /dev/sdb1 - Add a new disk mdctl --add /dev/md0 /dev/sdb1 - cat /proc/mdstat # # # end of file