1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:22:09 +02:00
tldr/pages/common/zfs.md
2021-09-01 16:08:03 -03:00

28 lines
590 B
Markdown

# zfs
> Manage ZFS filesystems.
> More information: <https://manned.org/zfs>.
- List all available zfs filesystems:
`zfs list`
- Create a new ZFS filesystem:
`zfs create {{pool_name/filesystem_name}}`
- Delete a ZFS filesystem:
`zfs destroy {{pool_name/filesystem_name}}`
- Create a Snapshot of a ZFS filesystem:
`zfs snapshot {{pool_name/filesystem_name}}@{{snapshot_name}}`
- Enable compression on a filesystem:
`zfs set compression=on {{pool_name/filesystem_name}}`
- Change mountpoint for a filesystem:
`zfs set mountpoint={{/my/mount/path}} {{pool_name/filesystem_name}}`