Skip to main content

vserver nvme namespace convert-from-lun

Contributors
Suggest changes

Transition an existing LUN into a NVMe namespace

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

Description

This command transitions an existing LUN in-place into an NVMe namespace within a volume in a Vserver. When performing an in-place transition, the application data remains unchanged and only the metadata gets modified.

When using this command, it is necessary that any existing maps to an Igroup for this LUN be removed first. If any maps exist for the specified LUN, you will receive an error message.

Only LUNs with a zero prefix and suffix size can be transitioned into an NVMe namespace. You will receive an error message if the LUN has a non-zero prefix and/or suffix size.

Parameters

-vserver <Vserver Name> - Vserver Name

The name of the Vserver containing the LUN. If only one data Vserver exists, you do not need to specify this parameter.

-lun-path <path> - Path of the LUN

Specifies the path of the LUN you want to transition into an NVMe namespace. Examples of correct LUN paths are /vol/vol1/lun1 and /vol/vol1/qtree1/lun1 .

Examples

cluster1::> vserver nvme namespace convert-from-lun -vserver vs1 -lun-path /vol/vol1/lun1

Transitions LUN lun1 in-place to NVMe namespace within volume vol1 in Vserver vs1 .