Proxmox ZFS tips and default setting

77

ZFS is a combined file system and logical volume manager designed by Sun Microsystems. Starting with Proxmox VE 3.4, the native Linux kernel port of the ZFS file system is introduced as optional file system and also as an additional selection for the root file system. There is no need for manually compile ZFS modules – all packages are included.

By using ZFS, its possible to achieve maximum enterprise features with low budget hardware, but also high performance systems by leveraging SSD caching or even SSD only setups. ZFS can replace cost intense hardware raid cards by moderate CPU and memory load combined with easy management.

General ZFS advantages
  • Easy configuration and management with Proxmox VE GUI and CLI.
  • Reliable
  • Protection against data corruption
  • Data compression on file system level
  • Snapshots
  • Copy-on-write clone
  • Various raid levels: RAID0, RAID1, RAID10, RAIDZ-1, RAIDZ-2 and RAIDZ-3
  • Can use SSD for cache
  • Self healing
  • Continuous integrity checking
  • Designed for high storage capacities
  • Protection against data corruption
  • Asynchronous replication over network
  • Open Source
  • Encryption

 

Proxmox 5.4 default ZFS setting

# zpool get all
NAME   PROPERTY                       VALUE                          SOURCE
rpool  size                           1.36T                          -
rpool  capacity                       0%                             -
rpool  altroot                        -                              default
rpool  health                         ONLINE                         -
rpool  guid                           13046496262165784879           -
rpool  version                        -                              default
rpool  bootfs                         rpool/ROOT/pve-1               local
rpool  delegation                     on                             default
rpool  autoreplace                    off                            default
rpool  cachefile                      -                              default
rpool  failmode                       wait                           default
rpool  listsnapshots                  off                            default
rpool  autoexpand                     off                            default
rpool  dedupditto                     0                              default
rpool  dedupratio                     1.00x                          -
rpool  free                           1.36T                          -
rpool  allocated                      1.99G                          -
rpool  readonly                       off                            -
rpool  ashift                         12                             local
rpool  comment                        -                              default
rpool  expandsize                     -                              -
rpool  freeing                        0                              -
rpool  fragmentation                  0%                             -
rpool  leaked                         0                              -
rpool  multihost                      off                            default
rpool  checkpoint                     -                              -
rpool  load_guid                      7860430000379292497            -
rpool  autotrim                       off                            default
rpool  [email protected]_destroy          enabled                        local
rpool  [email protected]_bpobj            active                         local
rpool  [email protected]_compress           active                         local
rpool  [email protected]_vdev_crash_dump  enabled                        local
rpool  [email protected]_histogram     active                         local
rpool  [email protected]_txg            active                         local
rpool  [email protected]_birth             active                         local
rpool  [email protected]_dataset     active                         local
rpool  [email protected]_data          active                         local
rpool  [email protected]              enabled                        local
rpool  [email protected]_limits      enabled                        local
rpool  [email protected]_blocks           enabled                        local
rpool  [email protected]_dnode            enabled                        local
rpool  [email protected]                 enabled                        local
rpool  [email protected]                  enabled                        local
rpool  [email protected]                  enabled                        local
rpool  [email protected]_accounting     active                         local
rpool  [email protected]             enabled                        local
rpool  [email protected]_quota          active                         local
rpool  [email protected]_removal         enabled                        local
rpool  [email protected]_counts        enabled                        local
rpool  [email protected]_checkpoint       enabled                        local
rpool  [email protected]_v2            active                         local
rpool  [email protected]_classes     enabled                        local
rpool  [email protected]_defer         enabled                        local
rpool  [email protected]_v2            enabled                        local
[email protected]:~# zpool get all|grep com
rpool  comment                        -                              default
rpool  [email protected]_compress           active                         local

Home Networking: 100TB 10Gbit Server – Installing Proxmox and basic ZFS tutorial

 

https://pve.proxmox.com/wiki/ZFS:_Tips_and_Tricks

https://pve.proxmox.com/wiki/Storage:_ZFS

https://pve.proxmox.com/wiki/ZFS_on_Linux

https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#chapter_zfs

Comments