Skip to main content
ONTAP 9.16.1 commands

vserver nvme namespace delete

Contributors
Suggest changes

Delete an NVMe namespace

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver nvme namespace delete command deletes an NVMe namespace from a specified Vserver and volume.

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the Vserver.

-path <path> - Namespace Path

Specifies the path of the NVMe namespace. Examples of correct NVMe namespace paths: /vol/vol1/ns1 and /vol/vol1/qtree1/ns1

[-skip-mapped-check <true>] - Skip Mapped Check

This option is required to delete an NVMe namespace that is attached to a subsystem.

[-foreground {true|false}] - Foreground

This parameter specifies whether the operation runs in the foreground. The default setting is true (the operation runs in the foreground). When set to true, the command will not return until the operation completes.

Examples

cluster1::> vserver nvme namespace delete -vserver vs1 -path /vol/nsvol/ns1

Deletes the NVMe namespace at path /vol/nsvol/ns1 on Vserver vs1 .