Start will bring the array on-line and start Parity-Check.
- Write corrections to parity
- elseif (missing_cache()):?>
-
Stopped. Missing Cache disk.
-
Start will remove the missing cache disk and then bring the array on-line.
+ switch ($var['mdState']):
+ case "STOPPED":
+ if (strstr($var['mdResyncAction'],"recon")):?>
+
Stopped. Configuration valid.
+
Start will bring the array on-line and start Parity-Sync and/or Data-Rebuild.
+ elseif ($var['mdResyncAction']=="clear"):?>
+
Stopped. New data disk(s) detected.
+
Start will bring the array on-line and start Clearing new data disk(s).
Start will bring the array on-line and start Parity-Check.
+ Write corrections to parity
+ elseif (missing_cache()):?>
+
Stopped. Missing Cache disk.
+
Start will remove the missing cache disk and then bring the array on-line.
+ Yes I want to do this
+ else:?>
+
Stopped. Configuration valid.
+
Start will bring the array on-line.
+ endif;
+ maintenance_mode();
+ check_encryption();
+ break;
+ case "NEW_ARRAY":
+ if (strpos($disks['parity']['status'],"DISK_NP")===0 && strpos($disks['parity2']['status'],"DISK_NP")===0):?>
+
Stopped. Configuration valid.
+
Start will record all disk information and bring the array on-line.
+ The array will be immediately available, but unprotected since parity has not been assigned.
+ else:?>
+
Stopped. Configuration valid.
+
Start will record all disk information, bring the array on-line, and start Parity-Sync.
+ The array will be immediately available, but unprotected until Parity-Sync completes.
+ Parity is already valid.
Start will disable the missing disk and then bring the array on-line. Install a replacement disk as soon as possible.
Yes I want to do this
- else:?>
-
Stopped. Configuration valid.
-
Start will bring the array on-line.
- endif;
- maintenance_mode();
- check_encryption();
- break;
- case "NEW_ARRAY":
- if (strpos($disks['parity']['status'],"DISK_NP")===0 && strpos($disks['parity2']['status'],"DISK_NP")===0):?>
-
Stopped. Configuration valid.
-
Start will record all disk information and bring the array on-line.
- The array will be immediately available, but unprotected since parity has not been assigned.
- else:?>
-
Stopped. Configuration valid.
-
Start will record all disk information, bring the array on-line, and start Parity-Sync.
- The array will be immediately available, but unprotected until Parity-Sync completes.
- Parity is already valid.
Copy will copy the parity information to the new parity disk.
- Once copy completes, the array may be Started, to initiate Data-Rebuild of the disabled disk.
- Yes I want to do this
- endif;
- break;
- case "ERROR:INVALID_EXPANSION":?>
-
Stopped. Invalid expansion.
-
You may not add new disk(s) and also remove existing disk(s).
- break;
- case "ERROR:NEW_DISK_TOO_SMALL":?>
-
Stopped. Replacement disk is too small.
-
The replacement disk must be as big or bigger than the original.
- break;
- case "ERROR:PARITY_NOT_BIGGEST":?>
-
Stopped. Disk in parity slot is not biggest.
-
If this is a new array, move the largest disk into the parity slot.
- If you are adding a new disk or replacing a disabled disk, try Parity-Swap.
- break;
- case "ERROR:TOO_MANY_MISSING_DISKS":?>
-
Copy will copy the parity information to the new parity disk.
+ Once copy completes, the array may be Started, to initiate Data-Rebuild of the disabled disk.
+ Yes I want to do this
+ endif;
+ break;
+ case "ERROR:INVALID_EXPANSION":?>
+
Stopped. Invalid expansion.
+
You may not add new disk(s) and also remove existing disk(s).
+ break;
+ case "ERROR:NEW_DISK_TOO_SMALL":?>
+
Stopped. Replacement disk is too small.
+
The replacement disk must be as big or bigger than the original.
+ break;
+ case "ERROR:PARITY_NOT_BIGGEST":?>
+
Stopped. Disk in parity slot is not biggest.
+
If this is a new array, move the largest disk into the parity slot.
+ If you are adding a new disk or replacing a disabled disk, try Parity-Swap.
+ break;
+ case "ERROR:TOO_MANY_MISSING_DISKS":?>
+