- create filesystem
- create zfs slot
- set acl
- set mountpoint
- take snapshot
- list snapshots
- mount snapshot
- destroy snapshot
- rollback to a snapshot
- get compression
- set compression
- send snapshots to other device
zpool create NAME DEVICE
zfs create NAME/path1/path2
zfs set acltype=posix NAME
zfs set mountpoint=MOUNTPOINT NAME
zfs snapshot NAME@TAG
zfs list -t snapshot
mount -t zfs NAME@TAG MOUNTPOINT
zfs destroy NAME@TAG
zfs rollback NAME@TAG
zfs get compression NAME
zfs set compression=on NAME
zfs get compressratio
given follow example
NAME USED AVAIL REFER MOUNTPOINT
bk/test/current@one 64K - 96K -
bk/test/current@two 56K - 96K -
bk/test/current@three 0B - 104K -
given a bk2 pool exists
- send initial snapshot
zfs send bk/test/current@one | zfs recv bk2/test/current
- this gives
NAME USED AVAIL REFER MOUNTPOINT
bk/test/current@one 64K - 96K -
bk/test/current@two 56K - 96K -
bk/test/current@three 0B - 104K -
bk2/test/current@one 64K - 96K -
- update bk2 with other bk snapshots ( two, three ) by specifying from latest existing also in bk2 @one toward the latest to send @three
zfs send -I bk/test/current@one bk/test/current@three | zfs recv bk2/test/current
- this gives
NAME USED AVAIL REFER MOUNTPOINT
bk/test/current@one 64K - 96K -
bk/test/current@two 56K - 96K -
bk/test/current@three 0B - 104K -
bk2/test/current@one 64K - 96K -
bk2/test/current@two 56K - 96K -
bk2/test/current@three 0B - 104K -