partition changelabel

Change the label of the partition in the active slot. This command affects the label originally set by the Partition SO during initialization.

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

NOTE   This feature has software and/or firmware dependencies. See Version Dependencies by Feature for more information.

Syntax

partition changelabel -label <newlabel> [-slot <slotnumber>] [-force]

Argument(s) Shortcut Description

-force

-f

Force action without prompting for confirmation.

-label <newlabel>

-l

Specifies the new label for the partition. To include spaces in the partition label, enclose the new partition name in quotation marks.

-slot <slotnumber>

-s

This option is deprecated -- you can change the partition label only on the currently-active slot.

Example

lunacm (64-bit) v7.2.0. Copyright (c) 2018 SafeNet. All rights reserved.


        Available HSMs:

        Slot Id ->              0
        Label ->                myUSBhsm
        Serial Number ->        7001812
        Model ->                G5Base
        Firmware Version ->     6.22.0
        Configuration ->        Luna HSM Admin Partition (PED) Signing With Cloning Mode
        Slot Description ->     Admin Token Slot
        HSM Configuration ->    Luna HSM Admin Partition (PED)
        HSM Status ->           OK

        Slot Id ->              3
        Label ->                originalpar
        Serial Number ->        1230507392695
        Model ->                Luna K7
        Firmware Version ->     7.2.0
        Configuration ->        Luna User Partition With SO (PW) Key Export With Cloning Mode
        Slot Description ->     User Token Slot

        Slot Id ->              4
        Label ->                myPCIeHSM
        Serial Number ->        528499
        Model ->                Luna K7
        Firmware Version ->     7.2.0
        Configuration ->        Luna HSM Admin Partition (PW) Key Export With Cloning Mode
        Slot Description ->     Admin Token Slot
        HSM Configuration ->    Luna HSM Admin Partition (PW)
        HSM Status ->           L3 Device


        Current Slot Id: 0

lunacm:>partition changeLabel -label newnamepar

        You are about to change the partition label.
        Are you sure you wish to continue?

        Type 'proceed' to continue, or 'quit' to quit now ->proceed

Command Result : No Error

lunacm:>

lunacm:>slot list

        Slot Id ->              0
        Label ->                myUSBhsm
        Serial Number ->        7001812
        Model ->                G5Base
        Firmware Version ->     6.22.0
        Configuration ->        Luna HSM Admin Partition (PED) Signing With Cloning Mode
        Slot Description ->     Admin Token Slot
        HSM Configuration ->    Luna HSM Admin Partition (PED)
        HSM Status ->           OK

        Slot Id ->              3
        Label ->                newnamepar
        Serial Number ->        1230507392695
        Model ->                Luna K7
        Firmware Version ->     7.2.0
        Configuration ->        Luna User Partition With SO (PW) Key Export With Cloning Mode
        Slot Description ->     User Token Slot

        Slot Id ->              4
        Label ->                myPCIeHSM
        Serial Number ->        528499
        Model ->                Luna K7
        Firmware Version ->     7.2.0
        Configuration ->        Luna HSM Admin Partition (PW) Key Export With Cloning Mode
        Slot Description ->     Admin Token Slot
        HSM Configuration ->    Luna HSM Admin Partition (PW)
        HSM Status ->           L3 Device


        Current Slot Id: 3


Command Result : No Error