Actions
Feature #7812
openZFS handling of autopreplace
Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
08/24/2017
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Description
This idea was posted on the forum. It doesn't look hard and if an install needs ZFS (not just reinstall + use a saved config) then such a user will probably value this as well.
The idea can be summed up as follows:
The GUI includes two controls related to ZFS: a list of disks or storage devices, and an option to enable/disable autoreplace. The list of disks gives their status (pool name, "SPARE", "FAILED", etc) with icons for actions like attach/detach next to them, for manual maintenance.
If autoreplace is enabled in the UI then autoreplace=on
is set on the pool. In addition a script is periodically run with this effect:
- Check if the boot pool is degraded, and if so, whether a spare has been switched in and resilvering completed.
If so..... - Offline the failed disk to ensure the boot pool doesn't have issues next time the system reboots.
Original idea first post here: https://forum.pfsense.org/index.php?topic=126597.0
Actions