6.50 Rename Volume

rename volume <volume_name> <new_volume_name> [encryption_password]

Rename a specified NSS volume. If the volume is encrypted, you might also need to provide its encryption password.

If a volume’s pool is cluster-enabled, issue the command on the node where the pool cluster resource is currently online.

nlvm [nlvm_options] rename volume  <volume_name> <new_volume_name> [encryption_password]

Command Option

volume_name

Mandatory. Specify the name of the NSS volume to rename.

Example

MYVOL1
new_volume_name

Mandatory. Specify the new name of the NSS volume.

Volume names are 2 to 15 characters. The naming conventions are the same as for pools. See the create pool command for naming conventions.

Example

V_SALES
encryption_password

Optional. If the volume is encrypted, the volume’s encryption password might be needed. You can try the command without the password. If the password is needed, you are prompted to enter it.

Example

novell

Command Example

nlvm rename volume MYVOL1 V_SALES

Rename the NSS volume MYVOL1 as V_SALES.

nlvm rename volume MYVOL2 V_FINANCE novell

Rename the encrypted NSS volume MYVOL2 as V_FINANCE. In this example, the encryption password is novell.