1nvme_sanitize_nvm(9)          libnvme API manual          nvme_sanitize_nvm(9)
2
3
4

NAME

6       nvme_sanitize_nvm - Start a sanitize operation
7

SYNOPSIS

9       int nvme_sanitize_nvm (struct nvme_sanitize_nvm_args *args );
10

ARGUMENTS

12       args        struct nvme_sanitize_nvm_args argument structure
13

DESCRIPTION

15       A  sanitize  operation  alters  all user data in the NVM subsystem such
16       that recovery of any previous  user  data  from  any  cache,  the  non-
17       volatile media, or any Controller Memory Buffer is not possible.
18
19       The  Sanitize  command starts a sanitize operation or to recover from a
20       previously failed sanitize operation. The sanitize operation types that
21       may be supported are Block Erase, Crypto Erase, and Overwrite. All san‐
22       itize operations are processed in the background, i.e.,  completion  of
23       the sanitize command does not indicate completion of the sanitize oper‐
24       ation.
25

RETURN

27       The nvme command status if a response was received (see enum  nvme_sta‐
28       tus_field) or -1 with errno set otherwise.
29
30
31
32April 2022                     nvme_sanitize_nvm          nvme_sanitize_nvm(9)
Impressum