Format All Namespaces on the Controller

Stop all IO to the NVMe device before attempting format it.

The controller does not support the format of a single namespace. Use the -a option to confirm the format of all namespaces. For supported metadata and block size information, see List the Supported LBA Format.

Caution:

All data is destroyed after a low-level format.

  1. To format all namespaces on a controller, type:

    # nvmeadm format -f -a -m metadata_size -b block_size controller_name

    For example:

    # nvmeadm format -f -a -m 0 -b 4096 SUNW-NVME-1