1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 05:17:58 +01:00
tldr/pages/common/zfs.md
2016-01-08 09:38:59 +01:00

502 B

zfs

Manage ZFS filesystems.

  • List all available zfs filesystems:

zfs list

  • Create a new ZFS filesystem:

zfs create poolname/newfsname

  • Delete a ZFS filesystem:

zfs destroy {{poolname/newfsname}}

  • Create a Snapshot of a ZFS filesystem:

zfs snapshot {{poolname/filesystem@snapshot-name}}

  • Enable compression on a filesystem:

zfs set compression=on {{poolname/fileystem}}

  • Change mountpoint for a filesytem:

zfs set mountpoint={{/my/mount/path}} {{poolname/filesystem}}