10000 Support ATA Secure Erase? · Issue #182 · smartmontools/smartmontools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support ATA Secure Erase? #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Juul opened this issue Mar 3, 2023 · 3 comments
Open

Support ATA Secure Erase? #182

Juul opened this issue Mar 3, 2023 · 3 comments

Comments

@Juul
Copy link
Juul commented Mar 3, 2023

Currently completely wiping an SSD on Linux systems is usually accomplished using hdparm and Secure Erase or Enhanced Secure Erase.

Unfortunately hdparm doesn't support many USB bridges so securely erasing a drive often involves finding a desktop computer and hooking up the drive directly with SATA / NVMe.

smartmontools has great bridge support. Would adding Secure Erase support be totally out of scope for smartmontools?

@chrfranke
Copy link

Many years ago, smartmontools developers decided to avoid inclusion of features which may brick devices. Examples include functions marked as DANGEROUS on man hdparm. Therefore the only available ATA Security functionality is SECURITY FREEZE.

I agree that ATA Secure Erase would be a useful feature. A related patch would possibly be accepted if:

  • It was successfully tested with various devices from different vendors and via different (USB-)controllers.
  • The related code is disabled by default and could be enabled by package maintainers with ./configure --with-ata-security.

See our Links page for an older smartmontools fork which adds some ATA Security functionality:
https://www.smartmontools.org/wiki/Links#MirrorsandForksofsmartmontools

Leaving issue open as undecided for now.

@Juul
Copy link
Author
Juul commented Mar 3, 2023

Thank you for the detailed response! I will read and ponder.

@ehem
Copy link
ehem commented Nov 15, 2024

This overlaps with #133. A whole bunch of tools really want smartmontools's controller command pass-through capability, except it isn't a separate library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0