Project

General

Profile

Actions

Feature #7812

open

ZFS handling of autopreplace

Added by Stilez y over 7 years ago. Updated over 5 years ago.

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:

  1. Check if the boot pool is degraded, and if so, whether a spare has been switched in and resilvering completed.
    If so.....
  2. 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 #1

Updated by gavin penney over 7 years ago

ideally, there ought to be a page for managing zfs, like there is for geom mirrors(albiet pretty limited), or at least a package to add it in

such an interface could have buttons for adding mirrors, instead of using autoreplace (autoreplace on anything is often a good way for the less experienced to erase a disk they actually wanted to keep)

this could also be a prime location for adding boot environments, or at least a snapshot button

Actions #2

Updated by Jim Pingle over 5 years ago

  • Category set to Web Interface
Actions

Also available in: Atom PDF