Document navigation

Sharedblock

Name Description Default Value Valid Value
deletion.gcInterval The interval of cleaning failed volumes or snapshots that fail to be deleted from a Shared Block primary storage. Default: 3600. Unit: second. 3600 [1,+∞)
qcow2.allocation The policy used to allocate space for volumes in Shared Block primary storages. Default: metadata. Valid values: none and metadata. metadata
  • none
  • metadata
  • falloc
  • full
qcow2.cluster.size The cluster size of QCOW files in a Shared Block primary storage. Default: 2097152. Unit: byte. Valid values: 512 to 2097152. 2097152 [512,2097152]
fail.if.multipath.no.path Specifies whether to disable the queue_if_no_path feature for multipath devices. Default: true. This value indicates that if no path of the multi-path devices used by SharedBlock primary storages is active, I/O requests fail. If set to false, the heartbeat detection and recovery mechanisms may not work as expected. Please proceed with caution. true
  • true
  • false
thin.provisioning.initialize.size The initial size of thin-provisioned volumes. Default: 5368709120. Unit: byte. The initial size cannot be lower than 1073741824 bytes. 5 GB [1073741824,+∞)
thin.provisioning.volume.utilization.percent The maximum usage ratio of thin-provisioned volumes. Default: 85. Unit: %. If the actual usage ratio of a thin-provisioned volume is higher than the maximum usage ratio, the volume will automatically scale up based on the Auto Scaleup Size of Thin-Provisioned Volume setting. 85 [1,+∞)
thin.provisioning.volume.freespace The minimum space that must be available for thin-provisioned volumes. Default: 5368709120. Unit: byte. If the difference between the actual size of a thin-provisioned volume and the used storage space is lower than the minimum available space, the volume will automatically scale up based on the Auto Scaleup Size of Thin-Provisioned Volume setting. 5 GB [1073741824,+∞)
thin.provisioning.volume.increment The auto scaleup size of thin-provisioned volumes. Default: 5368709120. Unit: byte. 5 GB [1073741824,+∞)
enable.lvmetad Specifies whether to enable the lvmetad service. Default: false. If set to true, operations on Shared Block primary storages will be accelerated. Please note that you need to enable the service in a proper way. Otherwise, metadata may be damaged. false
  • true
  • false
heartbeat.io.timeout The timeout period of inspecting the heartbeats of Shared Block primary storages. Default: 20. Unit: second. If the inspection times out for ten consecutive times, heartbeat inspection fails. 20 [1,+∞)
snapshot.shrink Specifies whether to enable the snapshot shrinking feature. Default: true. This value indicates that you can shrink the used storage space of snapshots in thick-provisioned root volumes and data volumes in a Shared Block primary storage. true
  • true
  • false
max.actual.size.factor The maximum rate between the actual size and virtual size of thin-provisioned volumes. Default: 3. Please proceed with caution. 3 [1,+∞)
device.allocate.strategy
  • The policy used to distribute a SharedBlock LUN to a volume and snapshot. Valid values: none (default), minLvCounts, and maxFreeSize.
  • If you select maxFreeSize, when you create a volume or snapshot, the SharedBlock LUN that has the the most available space is distributed to the volume or snapshot.
  • If you select minLvCounts, when you create a volume or snapshot, the SharedBlock LUN that has the smallest total number of volumes and snapshots and has sufficient available space is distributed to the volume or snapshot.
  • If you select none, when you create a volume or snapshot, when you create a volume or snapshot, a SharedBlock LUN that has sufficient spaceis is distributed to the volume or snapshot based on the system scheduling.
  • If you have already set the LUN distribution policy specifically for a SharedBlock primary storage, this global setting does not take effect on the primary storage.
none
  • none
  • minLvCounts
  • maxFreeSize
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center