Installing ZFS Filesystem in Ubuntu 20.04

To install zfs filesystem:

apt install zfsutils-linux

To create a pool:

zpool create <pool_name> <drive1> <drive2>

If any error occurs, try forcing the command using the -f option after the zpool create command

To find out where the pool has been mounted:

df -h | grep <pool_name>

To change the mount point for the pool:

zfs set mountpoint=<path> <pool_name>

To view all the ZFS storage pools on the system:

zpool list

To view all the configurations and status of each device in the ZFS storage pool:

zpool status

To remove the ZFS storage pool:

zpool destroy <pool_name>

本文章使用limfx的vscode插件快速发布