Partager Envoyer

(Logiciel informatique) OpenZFS PHP sudo Apache FreeBSD Sysadmin

ZFS Manager (distributed by AURORÆ Solutions)

ZFSmanager is a dedicated User Interface for managing the ZFS storage layer of our servers. It handles optimization of kernel, firewalling rules, configuration of disks arrays, zFS pools, volumes, snapshots, and more. It can also display indices, logs and realtime statistics.
Based upon the (now defunct?) ZFSguru project, it is provided under a BSD License.

ZFSmanager is built into our kadath Datawarehouse systems.


For whom

As it is both permissive (i.e. it allows remote execution of dangerous commands) and requires some (advanced) technical knowledge, ZFS Manager is usually not suited for end users: Sysadmins, Data managers and/or Power users have the best profile to use it. 


The main goal of the ZFS Manager UI is to let its users quickly access the most helpful indices and functions for daily management of a Datawarehouse on ZFS Host. This includes:
—the creation and management of Filesystems (formatting and configuring Disks arrays, managing ZFS Pools, Filesets and Snapshots)
—the configuration and optimization of the Host Operating System (through Sysctls and including Firewall Rules)
—the reading of related system indices (like CPU/Memory Usage, running processes, accessing logs)
—the ability to remotely stop/start/restart the Host and the main services related to the Datastores.

How to upgrade existing ZFS pools

One additional (important) step could be to upgrade any existing ZFS pools to latest version.

Open a shell as root:

   zpool upgrade zroot
   gpart show

For instance, you will see:

  root@ns3322573:~ # gpart show
  =>        40  3907029088  ada0  GPT  (1.8T)
          40        1024     1  freebsd-boot  (512K)
        1064         984        - free -  (492K)
        2048    33554432     2  freebsd-swap  (16G)
    33556480  3873472512     3  freebsd-zfs  (1.8T)
  3907028992         136        - free -  (68K)

On output, note the label of boot disk/pool (ada0) and the id of freebsd-boot partition (1).

Then, update bootcode accordingly:

   gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0

Check that everything is fine by rebooting immediately, then issuing a scrub and checking the health of your pool:

   zpool scrub zroot

Supported Hardware

An unexpensive and reliable ZFS Storage system requires support for FreeBSD OS, a really steady and preferably fanless power supply (Platinum+), as much ECC RAM as you can get (32 Gb+ recommended), one or more SAS HBAs (JBoD mode) and at least one 10GbE or 40 GbE Networking adapter (an unexpensive switch of note supporting 10 GbE is the GS110EMX from Netgear). For storage, prefer professional disks (like Seagate Ironwolf Pro series or Crucial MX500 SSDs).

ZFSmanager can be installed on any FreeBSD system.


ZFS Manager must execute system commands with superuser rights: enable passwordless sudo for its user.
Even if it includes a Password authentification system, for obvious security reasons, access to this software should be restricted to trusted IPs only

Ce document a été publié le 2018-06-28 14:25:35. (Dernière mise à jour : 2020-07-23 09:31:28.)

Fichiers attachés 2

Icon (Système informatique) Technique » FreeBSD

This website uses 'cookies' to enhance user experience and provide authentification. You may change which cookies are set at any time by clicking on more info. Accept