Go to main content

Oracle® Server CLI Tools for Oracle Solaris 11.3 User's Guide

Exit Print View

Updated: April 2018
 
 

Erase All Namespaces

The controller does not support the erase of a single namespace. Use the -a option to confirm the erase of all namespaces.


Caution

Caution  -  All data will be destroyed after an erase.


Before You Begin

Stop all IO to the NVMe device before attempting this action.

  • 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