[pve-devel] [RFC manager 1/1] ui: lvm: expose saferemove setting

Fiona Ebner f.ebner at proxmox.com
Thu Dec 7 17:10:37 CET 2023


It can be security-relevant in some environments. The LVM storage
documentation can be reached via the "Help" button and contains a few
more details.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 www/manager6/storage/LVMEdit.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/www/manager6/storage/LVMEdit.js b/www/manager6/storage/LVMEdit.js
index fde302fc..37d3c6ef 100644
--- a/www/manager6/storage/LVMEdit.js
+++ b/www/manager6/storage/LVMEdit.js
@@ -228,5 +228,15 @@ Ext.define('PVE.storage.LVMInputPanel', {
 	    uncheckedValue: 0,
 	    fieldLabel: gettext('Shared'),
 	},
+	{
+	    xtype: 'proxmoxcheckbox',
+	    name: 'saferemove',
+	    uncheckedValue: 0,
+	    fieldLabel: gettext('Safe Remove'),
+	    autoEl: {
+		tag: 'div',
+		'data-qtip': gettext("Zero-out data when removing LVs"),
+	    },
+	},
     ],
 });
-- 
2.39.2





More information about the pve-devel mailing list