[pve-devel] [PATCH v2 manager] ui: lvm: expose saferemove setting

Fiona Ebner f.ebner at proxmox.com
Thu Feb 1 16:12:38 CET 2024


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>
---

Changes in v2:
    * Improve label text (thanks to Fabian!)

 www/manager6/storage/LVMEdit.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/manager6/storage/LVMEdit.js b/www/manager6/storage/LVMEdit.js
index b5a2d812..882b9eb7 100644
--- a/www/manager6/storage/LVMEdit.js
+++ b/www/manager6/storage/LVMEdit.js
@@ -232,5 +232,11 @@ Ext.define('PVE.storage.LVMInputPanel', {
 		'data-qtip': gettext('Enable if the LVM is located on a shared LUN.'),
 	    },
 	},
+	{
+	    xtype: 'proxmoxcheckbox',
+	    name: 'saferemove',
+	    uncheckedValue: 0,
+	    fieldLabel: gettext('Wipe Removed Volumes'),
+	},
     ],
 });
-- 
2.39.2





More information about the pve-devel mailing list