26 lines
395 B
Markdown
26 lines
395 B
Markdown
* <https://openzfs.github.io/openzfs-docs/index.html>
|
|
|
|
## 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>`
|