mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 13:39:58 -06:00
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
Menu="UNRAID-OS"
|
|
Title="New Config"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2015, Lime Technology
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*/
|
|
?>
|
|
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.
|
|
|
|
This is useful when you have added or removed multiple drives and wish to rebuild parity based on
|
|
the new configuration.
|
|
|
|
**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!
|
|
|
|
<form name="newConfig" method="POST" action="/update.htm" target="progressFrame">
|
|
<?if ($var['fsState']=="Started"):?>
|
|
<input type="submit" name="cmdInit" value="Apply" disabled><input type="button" value="Done" onclick="done()">Array must be <strong><big>stopped</big></strong>
|
|
<?else:?>
|
|
<input type="submit" name="cmdInit" value="Apply" disabled><input type="button" value="Done" onclick="done()"><input type="checkbox" onClick="cmdInit.disabled=!this.checked"><small>Yes I want to do this</small>
|
|
<?endif;?>
|
|
</form> |