English
ZFS
On the ZFS page you build pools and datasets on a managed machine and read its disk health. A dataset shared from the page becomes an SMB share. The page enables the module on a machine, then shows that machine's Pools, Topology and Datasets.
Enable a device
- In the panel, open ZFS under Agent.
- Under Enabled devices, tick the machine with the disks and select Apply devices.

On a distribution with no prebuilt module for the running kernel, the consent dialog says that a kernel module is compiled on the machine. The build takes several minutes and runs again after every kernel upgrade.
Pools and topology
- Under Pools, select Create pool.
- Fill the Pool name and pick the First vdev disks.
- Pick the Vdev layout.
- Confirm. Disks that hold data need the word
wipetyped before they are erased.
A vdev is a group of disks the pool stripes across, and the layout is how a vdev holds its data:
| Layout | What it gives |
|---|---|
| Single | no redundancy |
| Mirror | full copies |
| RAID-Z1 | survives one failed disk |
| RAID-Z2 | survives two failed disks |
Topology draws each pool's vdevs and disks. Expand adds a vdev to a pool, and a pool found on attached disks is offered for Import.
DANGER
A layout that does not match the pool's existing vdevs leaves the pool only as safe as its weakest vdev.
Datasets
- Under Datasets, select Create dataset.
- Fill the Name, pick the Pool, and set a Mountpoint or leave it blank for
/pool/name. - Confirm.
Each dataset row shows its compression, record size and usage. Destroy removes the dataset and every file on it, and there is no snapshot to return to unless one was taken.
Disk health and replacement
Each disk in Topology shows its SMART result, passed or FAILING, and its Model. The temperature is shown when the drive reports one. Scrub starts a scrub of the pool. Replace on a disk takes a spare disk from the picker and resilvers onto it; with no spare attached the button reads No spare disk to replace with.
Share a dataset
- On a mounted dataset, select Share.
- Pick the users the share accepts, or pick none to accept every user, and confirm.
The Samba module on the same machine exports the dataset's mountpoint over SMB, read-write for the chosen users. The row then has an smb badge. It is then a share on the Samba page and an entry in the clients' Files panel; Unshare withdraws it.
