To remove an HSM Partition, you must be logged in (as admin) to the Luna appliance command shell (lunash) and you must be logged in to the on-board HSM as HSM Admin. Do the following:
partition delete -partition <HSM-Partition-name>
Replace <HSM-Partition-name> with the name of the Partition that you wish to delete (do not include the angle brackets "<>"). If you are not sure of the Partition name, use the partition list command.
When a Partition is deleted, the Partition is cleared from the HSM and any contents are deleted. This also implies that the Partition is revoked from any Clients that were registered to it.
By contrast, when a Partition is revoked, it still exists, but is no longer registered to (and available to) the Client from which it has been revoked. The Partition and its contents could still be used by other Clients, or could be re-assigned to the Client from which it was revoked.