fallocate -l 2G /path/to/file.img
zpool create poolname /path/to/file.img
zpool set autoexpand=on poolname
truncate --size=+1G /path/to/file.img
zpool online -e poolname /path/to/file.img
zfs create poolname/filesystemname
zfs set mountpoint=/path/to/mountpoint poolname/filesystemname
zfs set compression=on poolname/filesystemname
zfs set quota=1.5G poolname/filesystemname
Last active
February 8, 2018 08:32
-
-
Save flbuddymooreiv/dadb370dc38998fafddd to your computer and use it in GitHub Desktop.
ZFS Basics
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment