From 2b170ef3241cc98f2c934831484126365dc2acdf Mon Sep 17 00:00:00 2001 From: bergware Date: Tue, 28 Jun 2016 16:35:17 +0200 Subject: [PATCH] Added 'preset current configuration' with New Config utility [9] --- plugins/dynamix/NewConfig.page | 53 +++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/plugins/dynamix/NewConfig.page b/plugins/dynamix/NewConfig.page index 8c2bced29..8b1cab976 100644 --- a/plugins/dynamix/NewConfig.page +++ b/plugins/dynamix/NewConfig.page @@ -19,11 +19,24 @@ $disabled = $var['fsState']=="Started" || !$superdat ? 'disabled' : ''; ?> - +$(function() { + $('#s1').dropdownchecklist({emptyText:'None', width:131, firstItemChecksAll: true, explicitClose:'...close'}); + + $('#s1').dropdownchecklist('disable'); + +}); + This is a utility to reset the array disk configuration so that all disks appear as "New" disks, as if it were a fresh new server. @@ -47,18 +66,15 @@ Use the *'Preset current configuration'* selection to populate the desired disk **DO NOT USE THIS UTILITY THINKING IT WILL REBUILD A FAILED DRIVE** - it will have the opposite effect of making it ***impossible*** to rebuild an existing failed drive - you have been warned! +
-
+ Preset current configuration: - + + + +
@@ -68,14 +84,3 @@ effect of making it ***impossible*** to rebuild an existing failed drive - you h Yes I want to do this
- -> *Preset current configuration* - -> + **All** - parity, data and cache disks are populated with the current disk assignment **after** an array reset -> + **Parity only** - only parity disk(s) are populated, data and cache disks will be unassigned -> + **Data only** - only data disk(s) are populated, parity and cache disks will be unassigned -> + **Cache only** - only cache disk(s) are populated, parity and data disks will be unassigned -> + **Parity + Data** - parity and data disks are populated, cache disks will be unassigned -> + **Parity + Cache** - parity and cache disks are populated, data disks will be unassigned -> + **Data + Cache** - data and cache disks are populated, parity disks will be unassigned -> + **None** - parity, data and cache disks will all be unassigned