Re: mount(2) system call failed: Structure needs cleaning?

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

 



On 27/10/17 11:02, David C. Rankin wrote:
> How best to clear this array completely so that it doesn't cause mdadm any
> problem on the rebuild from the good array?

My favourite ... "dd if=/dev/zero of=/dev/sdX". Takes a
LLoooonnnnnngggggggg time.

But there is an option to mdadm that will wipe the superblock. I don't
know whether it will wipe both at once, I'd try it three times and if it
comes back with "can't find superblock" the third time you know it's
done :-) I've never used it so I can't say how it works.

Oh - and when you add it back to the good disk, use --add, and NOT
--re-add. That implies to mdadm that it's a new disk needing re-config.

Cheers,
Wol
--
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