mkpartition
Use the mkpartition command to create a storage partition.
Syntax
Parameters
- -name partition_name
- (Required) Specifies the name for the partition. The name must be unique on all systems where the partition is used and cannot be changed later.
- replication_policy_name | replication_policy_id | replication_policy_uuid
- (Optional) Specifies the replication policy for the partition. This operation can be performed whether the remote systems in the policy are connected or disconnected. The partition is created on the remote systems when connectivity allows.
- -draft
- (Optional) Creates a draft partition.
- -splitfrompartition partition_id | partition_name | partition_uuid
- (Optional) Can only be specified with -draft partition.Note: To split an existing partition, create a new draft partition with the existing partition specified using -splitfrompartition. Hosts, host clusters and volume groups that are associated with the existing partition can then be associated with the draft. If the split draft partition is published, these hosts, host clusters and volume groups will be removed from the source storage partition at the time of publication.
- -managementportset management_portset_id | management_portset_name
- (Optional) Specifies a management portset object assigned to the partition object. The management portset must have at least one IP address and cannot be the SystemManagement portset.
Note: The -replicationpolicy parameter is mutually
exclusive with -managementportset parameter.
- -ownershipgroup owner_id | owner_name
- (Optional) Specifies the name or ID of the ownership group to which the partition is added. This parameter is mutually exclusive with -replicationpolicy parameter.
Description
This mkpartition command is used to create a partition. Partitions can be
created only on single IO Group systems.
Note: If a replication policy is specified, the policy must
be a HA policy. If no policy is specified, the partition is a single-system partition.
Note: This command is available during the upgrade
process.
An invocation example
The following example creates a partition with no replication policy:
mkpartition -name mypartition1
The resulting output:
partition, id [1], successfully created
