# ZFS cheatsheet

## Scrubbing

Every sunday at 6 in the morning

`0 6 * * 7 /sbin/zpool scrub zroot`

Get status with zpool status

## Mountpoint

`zfs set mountpoint=/myspecialfolder mypool`

## Create pool

`zpool create mypool /dev/ada2`

## Create subvolume

`zfs create zpool/jails`

## SSD Trim

`zpool trim <pool>` and `zpool set autotrim=on <pool>`
