You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The drive might "compress" the pattern that is written to it. So combining with cryptsetup ensures that the drive actually stored every single bit correctly and did not just compress it.
As preparation to encrypt the drive, it is recommended to overwrite with cryptographically secure random numbers before which will be done while testing the drive. Win-win.
Contra:
A bit higher CPU usage. But with AES-NI, this should be acceptable.
This sounds interesting. It' s unfortunately probably out of scope for this script though since it is cross-platform and supports not only Linux but also FreeBSD.
ypid
changed the title
Combine with badblocks with cryptsetup?
Combine badblocks with cryptsetup?
Aug 3, 2024
Pro:
Contra:
I have been doing this for years without issues btw, ref: https://github.com/ypid/scripts/blob/master/badblocks_and_secure_erase and https://github.com/ypid/scripts/blob/master/full_disk_test
The text was updated successfully, but these errors were encountered: