partition delete
Delete an application partition. This command must be invoked from the HSM administrative partition, and operates against the application partition at the indicated slot.
Syntax
partition delete -slot <slotnumber> [-force]
Argument(s) | Shortcut | Description |
---|---|---|
-slot <slotnumber> | -sl | Slot number of partition to be deleted. |
-force | -f | Force the action without prompting for confirmation (useful for scripting). |
Example of partition delete command, showing slot list before and after
lunacm:> slot list Slot Id -> 0 Tunnel Slot Id -> 2 Label -> pciepartition Serial Number -> 349297122733 Model -> Luna K7 Firmware Version -> 7.0.1 Configuration -> Luna User Partition With SO (PED) Signing With Cloning Mode Slot Description -> User Token Slot Slot Id -> 1 Tunnel Slot Id -> 2 Label -> mypcie7 Serial Number -> 150022 Model -> Luna K7 Firmware Version -> 7.0.1 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 HSM Label -> myG5pw HSM Serial Number -> 7001312 HSM Model -> G5Base HSM Firmware Version -> 6.10.4 HSM Configuration -> SafeNet Luna USB HSM (PW) Signing With Cloning Mode HSM Status -> OK Current Slot Id: 1 Command Result : No Error lunacm:> partition delete -slot 0 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 lunacm:> slot list Slot Id -> 1 Tunnel Slot Id -> 2 Label -> mypcie7 Serial Number -> 150022 Model -> Luna K7 Firmware Version -> 7.0.1 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 HSM Label -> myG5pw HSM Serial Number -> 7001312 HSM Model -> G5Base HSM Firmware Version -> 6.10.4 HSM Configuration -> SafeNet Luna USB HSM (PW) Signing With Cloning Mode HSM Status -> OK Current Slot Id: 1 Command Result : No Error