Update 'zfs'

bucde
2022-10-22 14:12:36 +00:00
parent ed85112c43
commit 4aa8c4c398

12
zfs.md

@ -17,6 +17,14 @@
zpool create -o ashift=12 <POOLNAME> <RAIDLEVEL> <DISK_1> <DISK_2> ... <DISK_n>
```
## ZPOOL compression
Enable compression for ZPOOL with:
```
zfs set compression=lz4 <POOLNAME>
```
## Create ZVOL
* `-s` thin zfs volume
@ -39,4 +47,6 @@ options zfs zfs_arc_min=4294967295
options zfs zfs_arc_max=4294967296
```
Save the file and reboot the system.
Save the file and reboot the system.
You can show statistics with `arc_summary`.