Thread (5 messages) 5 messages, 4 authors, 2010-02-01

Re: Zeroing multiple superblocks

From: Andre Noll <hidden>
Date: 2010-01-25 09:52:21

On 15:09, Jim Paris wrote:
I guess the only way to be fully safe with the current approach is to
do a zero-superblock over and over until it complains.
mdadm --zero-superblock tries to guess the location of the superblock.
If more than one superblock is found, the one with the latest creation
time is being zeroed. So yes, the method you describe works and I think
it is the most reliable way to remove all superblocks of a device.

Maybe we could teach mdadm --zero-superblock to honor the --metadata=x
option which would zero-out the region of the device where the
version-x superblock is located.

Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help