On Wed Feb 24, 2010 at 05:53:27PM +0100, Stefan G. Weichinger wrote: > Am 24.02.2010 17:38, schrieb Stefan G. Weichinger: > > > I now have md4 on sda4 and sdb4 ... xfs_repaired ... and sync the data > > to a plain new xfs-partition on sdc4 ... just to get current data out of > > the way. > > > Status now, after another reboot because of a failing md4: > > why degraded? How to get out of that and re-add sdc4 or sdd4 ? > What about that device 2 down there?? > > > server-gentoo ~ # mdadm -D /dev/md4 > /dev/md4: > Version : 00.90.03 > Creation Time : Tue Aug 5 14:14:16 2008 > Raid Level : raid5 > Array Size : 291820544 (278.30 GiB 298.82 GB) > Used Dev Size : 145910272 (139.15 GiB 149.41 GB) > Raid Devices : 3 > Total Devices : 2 > Preferred Minor : 4 > Persistence : Superblock is persistent > > Update Time : Wed Feb 24 17:41:15 2010 > State : clean, degraded > Active Devices : 2 > Working Devices : 2 > Failed Devices : 0 > Spare Devices : 0 > > Layout : left-symmetric > Chunk Size : 64K > > UUID : d4b0e9c1:067357ce:2569337e:e9af8bed > Events : 0.198 > > Number Major Minor RaidDevice State > 0 8 4 0 active sync /dev/sda4 > 1 8 20 1 active sync /dev/sdb4 > 2 0 0 2 removed > It's degraded because you only have 2 disks in the array, presumably the event count on the other disks doesn't match up. If you've replaced sdc and sdd never got rebuilt onto, then you only have the two disks available for the array anyway. If these are the only disks with up-to-date data, and sda4 is still failing, I can only suggest stopping the array and using dd/dd_rescue to copy sda4 onto a working disk. You should then be able to reassemble the array with sdb4 and the new disk, then add in a hot spare to recover. Alternately, bite the bullet, recreate the array and restore. Either way, it looks like you ought to be running regular checks on the array to try to pick up/fix these background failures. Cheers, Robin -- ___ ( ' } | Robin Hill <robin@xxxxxxxxxxxxxxx> | / / ) | Little Jim says .... | // !! | "He fallen in de water !!" |
Attachment:
pgpVV5VbiP7Rq.pgp
Description: PGP signature