AddSharedBlockGroupPrimaryStorage
Adds a SharedBlock primary storage. For
example,
AddSharedBlockGroupPrimaryStorage name=test zoneUuid=a8e220606e8a4db88bd95702d9d1dd07 diskUuids=8a4db88bd95702d9d1dd07a8e220606eParameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| diskUuids | The unique identifier of the disk. For example, UUID, WWN, and WWID. | 2.3.2 | ||
| name | The resource name. | 2.3.2 | ||
| description | The detailed description of the resource. | Yes | 2.3.2 | |
| type | The primary storage type: SharedBlock. | Yes | 2.3.2 | |
| url | The reserved field. | 2.3.2 | ||
| zoneUuid | The zone UUID. | 2.3.2 | ||
| resourceUuid | Yes | 2.3.2 | ||
| userTags | The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. | Yes | 2.3.2 | |
| systemTags | The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. | Yes | 2.3.2 | |
| timeout | Yes |
Note:
- When you add a Shared Block primary storage in ZStack Cloud, you can specify the default volume
provisioning strategy by adding the
primaryStorageVolumeProvisioningStrategy option to
SystemTags.
- Format of the primaryStorageVolumeProvisioningStrategy
option:
primaryStorageVolumeProvisioningStrategy::ThinProvisioning, primaryStorageVolumeProvisioningStrategy::ThickProvisioning - Example:
primaryStorageVolumeProvisioningStrategy::ThinProvisioning, primaryStorageVolumeProvisioningStrategy::ThickProvisioning
- Format of the primaryStorageVolumeProvisioningStrategy
option: