10000 Add format and sanitize commands support · Issue #304 · smartmontools/smartmontools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add format and sanitize commands support #304

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
rustyx opened this issue Dec 5, 2024 · 1 comment
Open

Add format and sanitize commands support #304

rustyx opened this issue Dec 5, 2024 · 1 comment

Comments

@rustyx
Copy link
rustyx commented Dec 5, 2024

It looks like smartctl is the only tool that can access NVMe drives hooked up via an NVMe-to-USB adapter (based on an ASMedia/jmicron/realtek chip).

It would be immensely useful if smartctl allowed securely erasing such drives as there appears currently no way to do this using blkdiscard, hdparm, sdparm or any other existing tool.

@chrfranke
Copy link

The different vendor specific NVMe pass-through SCSI commands provided by USB bridges are undocumented and have various limitations. Format or Sanitize commands may not be supported or may be dangerous to use because not all command data words are passed to the device.

In particular -d sntrealtek only supports Identify and Read Log, but no self-tests or anything else.

Please see also issue #182 about our decisions regarding commands which may brick devices.

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

2 participants
0