ZFS Compression appears to not be working

Jun 27, 2017
30
1
8
Not sure what's going on with the compression (lack of) on my pool. This was a fresh ZFS pool without any existing data. Files were then copied into it from an ext4 formatted drive yet still sitting at 1.0x ratio.

Any ideas?


Code:
:/# zfs get compression rpool
NAME   PROPERTY     VALUE     SOURCE
rpool  compression  lz4       local

:/# zfs get compressratio rpool
NAME   PROPERTY       VALUE  SOURCE
rpool  compressratio  1.00x  -

:/# zfs get used rpool
NAME   PROPERTY  VALUE  SOURCE
rpool  used      2.62T  -

:/# zfs get logicalused rpool
NAME   PROPERTY     VALUE  SOURCE
rpool  logicalused  2.63T  -

:/# zfs get all | grep compress
rpool  compressratio         1.00x                  -
rpool  compression           lz4                    local
rpool  refcompressratio      1.00x                  -
Code:
:/# zfs get all
NAME   PROPERTY              VALUE                  SOURCE
rpool  type                  filesystem             -
rpool  creation              Wed Sep 26 16:06 2018  -
rpool  used                  2.62T                  -
rpool  available             11.4T                  -
rpool  referenced            2.62T                  -
rpool  compressratio         1.00x                  -
rpool  mounted               yes                    -
rpool  quota                 none                   default
rpool  reservation           none                   default
rpool  recordsize            128K                   default
rpool  mountpoint            /rpool                 default
rpool  sharenfs              off                    default
rpool  checksum              on                     default
rpool  compression           lz4                    local
rpool  atime                 on                     default
rpool  devices               on                     default
rpool  exec                  on                     default
rpool  setuid                on                     default
rpool  readonly              off                    default
rpool  zoned                 off                    default
rpool  snapdir               hidden                 default
rpool  aclinherit            restricted             default
rpool  createtxg             1                      -
rpool  canmount              on                     default
rpool  xattr                 on                     default
rpool  copies                1                      default
rpool  version               5                      -
rpool  utf8only              off                    -
rpool  normalization         none                   -
rpool  casesensitivity       sensitive              -
rpool  vscan                 off                    default
rpool  nbmand                off                    default
rpool  sharesmb              off                    default
rpool  refquota              none                   default
rpool  refreservation        none                   default
rpool  guid                  2291305594191252298    -
rpool  primarycache          all                    default
rpool  secondarycache        all                    default
rpool  usedbysnapshots       0B                     -
rpool  usedbydataset         2.62T                  -
rpool  usedbychildren        10.8M                  -
rpool  usedbyrefreservation  0B                     -
rpool  logbias               latency                default
rpool  dedup                 off                    default
rpool  mlslabel              none                   default
rpool  sync                  standard               default
rpool  dnodesize             legacy                 default
rpool  refcompressratio      1.00x                  -
rpool  written               2.62T                  -
rpool  logicalused           2.63T                  -
rpool  logicalreferenced     2.63T                  -
rpool  volmode               default                default
rpool  filesystem_limit      none                   default
rpool  snapshot_limit        none                   default
rpool  filesystem_count      none                   default
rpool  snapshot_count        none                   default
rpool  snapdev               hidden                 default
rpool  acltype               off                    default
rpool  context               none                   default
rpool  fscontext             none                   default
rpool  defcontext            none                   default
rpool  rootcontext           none                   default
rpool  relatime              off                    default
rpool  redundant_metadata    all                    default
rpool  overlay               off                    default
 
Jun 27, 2017
30
1
8
Yeah it dawned on me earlier that compression isn't likely to big a large factor since the drive is filled with mostly already compressed items such as video files.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!