[PATCH v5 pve-storage 0/2] lvm secure delete : add support for blkdiscard + fix volume activation

Alexandre Derumier alexandre.derumier at groupe-cyllene.com
Thu Oct 23 14:23:29 CEST 2025


This patch serie add support for blkdiscard for fast secure delete of lvm volume
and fix volume activation before secure delete

changelog v5:
 - remove delete with discard as it's not supported to zeroing anymore, 
   only use BLKZEROOUT && fallback to cstream if not supported
 - fix last fiona comments


Alexandre Derumier (2):
  lvmplugin: use blkdiscard when supported instead cstream to saferemove
    drive
  fix #6941 : lvmplugin : fix volume activation of raw disk before
    secure delete

 src/PVE/Storage/LVMPlugin.pm | 104 ++++++++++++++++++++++++++---------
 1 file changed, 78 insertions(+), 26 deletions(-)

-- 
2.47.3




More information about the pve-devel mailing list