ZFS - Cheat Sheet

Cheat Sheet


CommandDescription
sudo apt install zfsutils-linuxInstall ZFS.
sudo zpool create pool1 mirror sdc sddCreate a RAID 1 Mirror.
sudo zpool create pool1 mirror sdb sdc mirror sdd sdeCreate a RAID 10.
sudo zpool statusShow status.
sudo zpool replace pool1 sdd sdeReplace failed disk.
sudo zpool destroy pool1Destroy pool.
sudo zpool scrub pool1Scrub pool.