partition rename

Renames the specified partition. This command does not affect the label set by the Partition SO during initialization.

You must be logged in as HSM SO to run this command.

Partition names created in LunaSH must be 1-32 characters in length. The following characters are allowed:

abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789!@#$%^*()-_=+{}[]:',./~

Spaces are allowed; enclose the partition name in double quotes if it includes spaces.

The following characters are not allowed: &\|;<>`"?

No two partitions can have the same name.

NOTE   This feature requires minimum Luna HSM Firmware 7.2.0 and Luna Appliance Software 7.2.0.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

Syntax

partition rename -partition <name> -newname <name> [-force]

Argument(s) Shortcut Description
-force -f Force the action without prompting for confirmation.
-newname -n Specifies the new partition name. To include spaces in the partition name, enclose the new partition name in quotation marks.
-partition -p Specifies the current name of the partition to be renamed.

Example

lunash:>partition rename -partition par1 -newname "user partition1"


CAUTION:  Are you sure you wish to make the following changes to partition "par1"?:
              Partition name:   user partition1
              Partition label:  no change

          Type 'proceed' to change the partition name/label, or 'quit'
          to quit now.
          > proceed
        Partition name successfully updated in the partition file list.
        Partition name successfully updated in the Client Authenticate Configuration File.

'partition rename' successful.


Command Result : 0 (Success)