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.

  1. Choose one of the erase options:
    • To erase all namespaces, type:

      # nvmeadm erase -a controller_name

      For example:

      # nvmeadm erase -a SUNW-NVME-1

    • To securely erase all namespaces, type:

      # nvmeadm erase -s -a controller_name

      For example:

      # nvmeadm erase -s -a SUNW-NVME-1