Run either of the following commands with the copy-source volume specified to create a volume (S-VOL) to take a snapshot of.
-
To prepare to take a snapshot, the following calculation results must be less than 80.
usedCapacity [MiB] / allocatableCapacity [MiB] × 100
You can verify the usedCapacity and allocatableCapacity by running either of the following commands:
REST API: GET /v1/objects/storage-controllers
CLI: storage_controller_list
-
Preparation for taking a snapshot cannot be performed if there is a snapshot whose status is "Deleting" or "Error" on the copy-source volume.
-
If the copy-source volume is a snapshot, the system can be prepared for taking a snapshot only when the copy-source snapshot is in Normal state.
-
When universalReplicatorAttribute is "P-VOL", you can prepare for obtaining snapshots regardless of the Universal Replicator pair status. When universalReplicatorAttribute is "S-VOL", you can prepare for obtaining snapshots provided that the Universal Replicator pair status is "PAIR", "SSUS", or "PSUE." If the Universal Replicator pair status is "COPY", preparing for obtaining snapshots is unavailable. Also, it is not possible to prepare for obtaining snapshots for the volumes whose volumeType is "Journal" or "FormerJournal."
Preparing to take a snapshot and taking a snapshot can be performed in one step. Batch processing simplifies the operation, but if the snapshot is to be taken after I/O is stopped, the I/O stop time will be longer because I/O must also be stopped for the time it takes to prepare to take the snapshot.
Therefore, this document separately describes the operation for preparing to take a snapshot and the operation for taking a snapshot.
To sequentially perform the operation for preparing to take a snapshot and the operation for taking a snapshot, specify PrepareAndFinalize for the operationType parameter (in the case of CLI, --operation_type) when you perform step 4.
Note that the operation for preparing to take a snapshot and the operation for taking a snapshot are sequentially performed if the operationType parameter (in the case of CLI, --operation_type) is omitted.
-
Required role: Storage
-
When preparing for obtaining snapshots for volumes in a VPS: Scope of the VPS