Re: Help with recovering resized raid where machine crashed while PENDING

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Neil Brown]
> I probably wouldn't have helped.  It is supposed to write backup
> stuff to the spares and if it didn't do that, it probably wouldn't
> have written it to a file either.

Right.  Is this a bug or the way it is supposed to work?

> The easiest fix for now is to recreate the array.
> 
> mdadm -CR /dev/md3 --metadata=0.90 -n3 -l5 -c64 /dev/sdb2 /dev/sdc2
> /dev/sdf2 --assume-clean
>
> should do it.

Thank you.  How did you determine which devices to use and which order
to list them in?  I've since rebooted and want to make sure I do not
pick the wrong devices.

> Then if that looks good, add the extra devices and grow the array
> again.

Will try when md2 is done growing tomorrow. :)

Happy hacking,
-- 
Petter Reinholdtsen
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux