lun convert-from-namespace
Transition an existing NVMe namespace into a LUN
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
This command transitions an existing NVMe namespace in-place into a LUN 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 NVMe subsystem for this namespace be removed first. If any maps exist for the specified namespace, you will receive an error message.
Only NVMe namespaces with a block size of 512 bytes can be transitioned into a LUN. You will receive an error message if the NVMe namespace has a block size different than 512 bytes.
Parameters
-vserver <Vserver Name>
- Vserver Name-
The name of the Vserver containing the NVMe namespace. If only one data Vserver exists, you do not need to specify this parameter.
-namespace-path <path>
- Path of the NVMe namespace-
Specifies the path of the NVMe namespace you want to transition into LUN. Examples of correct namespace paths are
/vol/vol1/ns1
and/vol/vol1/qtree1/ns1
.
Examples
cluster1::> lun convert-from-namespace -vserver vs1 -namespace-path /vol/vol1/ns1
Transitions namespace ns1
in-place to LUN within volume vol1
in Vserver vs1
.