Erase All Namespaces
Stop all IO to the NVMe device before attempting this action.
The controller does not support the erase of a single namespace. Use the -a option to confirm the erase of all namespaces.
Caution:
All data will be destroyed after an erase.
-
Choose one of the erase options:
-
To erase all namespaces, type:
#
nvmeadm erase -a controller_nameFor example:
#
nvmeadm erase -a SUNW-NVME-1 -
To securely erase all namespaces, type:
#
nvmeadm erase -s -a controller_nameFor example:
#
nvmeadm erase -s -a SUNW-NVME-1
-
Parent topic: Using nvmeadm to Configure an NVM Express Device