mirror of
https://git.bs.b-eit.de/bucde/notes.git
synced 2025-08-08 10:14:28 +02:00
Update 'zfs'
12
zfs.md
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`.
|
Reference in New Issue
Block a user