mirror of
https://git.bs.b-eit.de/bucde/notes.git
synced 2025-08-16 14:50:55 +02:00
Update 'zfs'
10
zfs.md
10
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
|
||||
@ -40,3 +48,5 @@ options zfs zfs_arc_max=4294967296
|
||||
```
|
||||
|
||||
Save the file and reboot the system.
|
||||
|
||||
You can show statistics with `arc_summary`.
|
Reference in New Issue
Block a user