Removing Partitions

Only the HSM Security Officer can remove HSM partitions. When a partition is removed, it is cleared from the HSM and all of its contents are deleted.

To remove a partition from the HSM:

1.Open LunaCM (or run slot list if it is already open) and note the slot number of the partition you wish to remove.

LunaCM v7.0.0. Copyright (c) 2006-2017 SafeNet.
 
        Available HSMs:
 
        Slot Id ->              3
        Label ->                myLunapar
        Serial Number ->        154438865287
        Model ->                Luna K7
        Firmware Version ->     7.0.1
        Configuration ->        Luna User Partition With SO (PW) Signing With Cloning Mode
        Slot Description ->     User Token Slot
 
        Slot Id ->              4
        Label ->
        Serial Number ->        154438865291
        Model ->                Luna K7
        Firmware Version ->     7.0.1
        Configuration ->        Luna User Partition With SO (PW) Signing With Cloning Mode
        Slot Description ->     User Token Slot
 
        Slot Id ->              103
        Label ->                myPCIeHSM
        Serial Number ->        66331
        Model ->                Luna K7
        Firmware Version ->     7.0.1
        Configuration ->        Luna HSM Admin Partition (PW) Signing With Cloning Mode
        Slot Description ->     Admin Token Slot
        HSM Configuration ->    Luna HSM Admin Partition (PW)
        HSM Status ->           L3 Device
 
        Current Slot Id: 3
 

2.Set the active slot to the HSM Admin partition and login as HSM SO.

lunacm:>slot set slot <slotnum>

lunacm:>role login -name so

3.Delete the partition by specifying its slot number.

lunacm:>partition delete -slot <slotnum>

lunacm:>partition delete -slot 4
 
        You are about to delete partition.
        Are you sure you wish to continue?
 
        Type 'proceed' to continue, or 'quit' to quit now ->proceed
 
Command Result : No Error