Home >

LunaSH Command Reference Guide > LunaSH Commands > partition > partition delete

partition delete

Delete an HSM Partition from the HSM. This command deletes a HSM Partition on the HSM and frees the license used by the HSM Partition. To use the partition delete command you must be logged in to the HSM as HSM Admin.

Syntax

partition delete -partition <partition_name> [-force]

Parameter Shortcut Description
-force -f Force the action without prompting.
-partition -p The name of the HSM partition to deactivate. Obtain the HSM partition name by using the partition list command.

Example

lunash:> partition delete -partition b1
 
CAUTION:  Are you sure you wish to delete the partition named:
b1
Type 'proceed' to delete the partition, or 'quit'
to quit now.
> quit
'partition delete' aborted.
 
lunash:> partition delete -partition b1
CAUTION:  Are you sure you wish to delete the partition named:
b1
Type 'proceed' to delete the partition, or 'quit'
to quit now.
> proceed
'partition delete' successful.