meta data for this page
This is an old revision of the document!
ZFS
Since fall 2015 the default compression algorithm in ZOL is LZ4 and since choosing compression=on means activate compression using default algorithm then your pools are using LZ4 โ http://open-zfs.org/wiki/Performance_tuning#Compression
# Check if LZ4 is active zpool get feature@lz4_compress rpool
Glossary
- ZPool is the logical unit of the underlying disks, what zfs use.
 - ZVol is an emulated Block Device provided by ZFS
 - ZIL is ZFS Intent Log, it is a small block device ZFS uses to write faster
 - ARC is Adaptive Replacement Cache and located in Ram, its the Level 1 cache.
 - L2ARC is Layer2 Adaptive Replacement Cache and should be on an fast device (like SSD).
 
Resources
remove storage pool
zfs destroy rpool/data
create ''local-zfs''
For nodes without local-zfs, i.e. Debian based custom system it is possible to add local-zfs storage later.
zpool create -f -o ashift=12 rpool /dev/sdb zfs set compression=lz4 rpool zfs create rpool/data # You can get a list of available ZFS filesystems with: pvesm zfsscan zpool status -v zfs list
Datacenter โ> Storage โ> local-zfs
- Disable node restriction