3.7. Changing the compression and deduplication settings on an LVM-VDO volume
This procedure enables or disables the compression and deduplication of a VDO pool logical volume (LV).
Compression and deduplication are enabled by default.
Conditions préalables
- An LVM-VDO volume exists on your system.
Procédure
To find out if the compression and deduplication is enabled or disabled on your logical volumes:
# lvs -o+vdo_compression,vdo_deduplication
Find out status of the compression and status of the deduplication index of your running active VDOPoolLV:
# lvs -o+vdo_compression_state,vdo_index_state
The
vdo_index_state
can show aserror
,close
,opening
,closing
,online
, andoffline
.To enable or disable the compression for VDOPoolLV:
# lvchange --compression y|n vg-name/vdopoolname
To enable or disable the deduplication for VDOPoolLV:
# lvchange --deduplication y|n vg-name/vdopoolname
Ressources supplémentaires
-
lvmvdo(7)
man page