zfs

zfs

TLDR

List all available zfs filesystems

$ zfs list
copy

Create a new ZFS filesystem

$ zfs create [pool_name/filesystem_name]
copy

Delete a ZFS filesystem

$ zfs destroy [pool_name/filesystem_name]
copy

Create a Snapshot of a ZFS filesystem

$ zfs snapshot [pool_name/filesystem_name]@[snapshot_name]
copy

Enable compression on a filesystem

$ zfs set compression=on [pool_name/filesystem_name]
copy

Change mountpoint for a filesystem

$ zfs set mountpoint=[/my/mount/path] [pool_name/filesystem_name]
copy

Copied to clipboard
free 100$ digital ocean credit