partition create
Create an HSM partition on the HSM. This command creates a new HSM partition on the HSM. You must be logged in to the HSM as HSM SO to use this command.
Use the LunaCM partition init command to initialize the partition.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
partition create -partition <name> [-size <size>] [-allfreestorage] [-force]
Argument(s) | Shortcut | Description |
---|---|---|
-allfreestorage | -a | Create the partition using all the remaining unused storage space on the HSM. After you create a partition with this option, you cannot create another without first deleting or resizing partitions to regain some space. |
-force | -f | Force the partition creation with no prompting - you are still prompted by Luna PED, if yours is a PED authenticated HSM. |
-partition <name> | -pa | Specifies the name to assign to the HSM Partition. The name must be unique among all HSM Partitions on the HSM. |
-size <size> | -s | Specifies the size, in bytes, to allocate to the partition, from the remaining storage available on the HSM. If you specify a size, the HSM attempts to use it after calculating overhead requirements. If you do not specify a size, the HSM creates the partition with the default size, as determined by your purchased options for number of partitions and total storage on the HSM. |
Example
lunash:>partition create -partition partition1
Type 'proceed' to create the partition, or
'quit' to quit now.
> proceed
'partition create' successful.
Command Result : 0 (Success)
lunash:>partition create -partition partition2 -size 400000
On completion, you will have 2 partition(s) with 32811040 bytes remaining for up to 98 more partitions.
Type 'proceed' to create the partition, or
'quit' to quit now.
> proceed
'partition create' successful.
Command Result : 0 (Success)