Document navigation

Volume

Name Description Default Value Valid Value
deletionPolicy The policy used to delete volumes. Default: Delay. Valid values: Direct, Delay, and Never. Delay
  • Direct
  • Delay
  • Never
diskOffering.setNullWhenDeleting Specifies whether to update the Volume Offering field of a volume to NULL if the volume offering is deleted. Default: true. true
  • true
  • false
expungeInterval The interval of expunging a deleted volume. Default: 3600. Unit: second. 3600 [1,+∞)
expungePeriod The delay of expunging a deleted volume. Default: 86400. Unit: second. 86400 [0,+∞)
refreshVolumeSizeInterval The interval of updating the available storage space of a volume. Default: 3600. Unit: second. The interval cannot be smaller than 600 seconds. 3600 [600,+∞)
refreshVolumeSize.scope The scope of the volumes that are enabled with automatic available space update. These volumes have their available space automatically updated according to Volume Available Space Update Interval. Default: All Volumes. Valid value: All Volumes, Volumes with Space Alarms, and None.
  • All Volumes: The Cloud automatically updates the available space of all volumes.
  • Volumes with Space Alarms: The Cloud automatically only updates the available space of the volumes whose available space is monitored by alarms.
  • None: The Cloud does not update the available space of any volume automatically.
AllActive
  • AllActive
  • Monitored
  • None
refreshVolumeSize.hostCountPerBatch The number of the hosts used for the batch volume size synchronization. Default: 10. The number must no greater than 100. 10 [1,100]
auto.snapshot.before.change Specifies whether to auto create a snapshot when the capacity of a volume is expanded. false
  • true
  • false
enable.qcow2.extended.l2 Specifies whether enable qcow2 subcluster allocation. Default: false.
  • If set to false, we recommend that you set cluster_size to 2M.
  • If set to true, the qcow2 subcluster allocation feature is enabled and we recommend that you set cluster_size to 64 KB, which improves the volume performance.
false
  • false
  • true
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center