Comment 17 for bug 1835954

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Hi Igor, thanks for your heads-up. What do you mean by "wipe"? Is it the "wipefs" command? We can run partprobe to update kernel partition table after "wipefs", but I don't feel it's necessary in the scenario we're working, since it's MAAS wiping (after it finishes, machine is rebooted).

About the GPT in the end of the disk, you're right (at least wipefs tells me there's a copy in the end of the disk). So, we could run wipefs+erasing the first/final 4M of the disk, this is more than enough I think as a quick erase.

And finally, about the limit on the number of secure-erase operations, I agree, but we are going to try cryptographic erase first, which is pretty fast and doesn't worn the device down at all; in case device doesn't support it, we go with the regular secure erase.

Cheers,

Guilherme