[pve-devel] [PATCH manager 1/1] ui: zpool status detail: add default for scrub information

Stoiko Ivanov s.ivanov at proxmox.com
Thu Feb 25 22:23:05 CET 2021


in case a zpool has not been yet scrubbed, there is no 'scan'
information in `zpool status` output.

Adding a informational text in that case might help users to notice
that something is not configured optimally (e.g. disabled cronjob)

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 www/manager6/node/ZFS.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/node/ZFS.js b/www/manager6/node/ZFS.js
index b54fb4e7..749d7c9b 100644
--- a/www/manager6/node/ZFS.js
+++ b/www/manager6/node/ZFS.js
@@ -294,6 +294,7 @@ Ext.define('PVE.node.ZFSStatus', {
 	me.rows = {
 	    scan: {
 		header: gettext('Scan'),
+		defaultValue: gettext('No information available (Pool has not been scrubbed yet?)'),
 	    },
 	    status: {
 		header: gettext('Status'),
-- 
2.20.1






More information about the pve-devel mailing list