Apr 282022
 

I forgot to enable compression on this FreshPorts node. I have no idea why/how.

After doing this, I went to a directory with a lot of space and copied stuff around.

[aws-1 dan /jails/ingress01/var/db/freshports/message-queues/archive] % sudo mv 2021_03.tar.gz 2021_03.tar.gz.tmp                                                                                      21:01:28
[aws-1 dan /jails/ingress01/var/db/freshports/message-queues/archive] % sudo mv 2021_03.tar.gz.tmp 2021_03.tar.gz                                                                                      21:01:38

That will free up *some* space. But really, most of this zpool really needs to have zfs send | zfs recv done on each one.

$ zpool list
NAME     SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
data01   200G   192G  7.59G        -         -    78%    96%  1.00x  ONLINE  -
zroot    200G  14.4G   185G        -         -    27%     7%  1.00x  ONLINE  -

But that’s a bunch of fixing….

$ zfs get -r -t filesystem compression data01
NAME                                                           PROPERTY     VALUE     SOURCE
data01                                                         compression  off       default
data01/freshports                                              compression  off       default
data01/freshports/ingress01                                    compression  off       default
data01/freshports/ingress01/var                                compression  off       default
data01/freshports/ingress01/var/db                             compression  off       default
data01/freshports/ingress01/var/db/freshports                  compression  off       default
data01/freshports/ingress01/var/db/freshports/cache            compression  off       default
data01/freshports/ingress01/var/db/freshports/cache/html       compression  off       default
data01/freshports/ingress01/var/db/freshports/cache/spooling   compression  off       default
data01/freshports/ingress01/var/db/freshports/message-queues   compression  off       default
data01/freshports/ingress01/var/db/ingress                     compression  off       default
data01/freshports/ingress01/var/db/ingress/message-queues      compression  off       default
data01/freshports/ingress01/var/db/ingress/repos               compression  off       default
data01/freshports/ingress01/var/db/ingress_svn                 compression  off       default
data01/freshports/ingress01/var/db/ingress_svn/mail            compression  off       default
data01/freshports/ingress01/var/db/ingress_svn/message-queues  compression  off       default
data01/freshports/ingress01/var/db/ingress_svn/signals         compression  off       default
data01/freshports/jailed                                       compression  off       default
data01/freshports/jailed/ingress01                             compression  off       default
data01/freshports/jailed/ingress01/jails                       compression  off       default
data01/freshports/jailed/ingress01/jails/freshports            compression  off       default
data01/freshports/jailed/ingress01/mkjail                      compression  off       default
data01/freshports/nginx01                                      compression  off       default
data01/freshports/nginx01/var                                  compression  off       default
data01/freshports/nginx01/var/db                               compression  off       default
data01/freshports/nginx01/var/db/freshports                    compression  off       default
data01/freshports/nginx01/var/db/freshports/cache              compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/categories   compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/commits      compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/daily        compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/general      compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/news         compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/packages     compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/pages        compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/ports        compression  off       default
data01/freshports/nginx01/var/db/freshports/cache/spooling     compression  off       default
data01/jails                                                   compression  off       default
data01/jails-tmp                                               compression  off       default
data01/jails-tmp/ingress01                                     compression  off       default
data01/jails-tmp/mx-ingress04                                  compression  off       default
data01/jails-tmp/nginx01                                       compression  off       default
data01/jails/ingress01                                         compression  off       default
data01/jails/mx-ingress04                                      compression  off       default
data01/jails/nginx01                                           compression  off       default
data01/mkjail                                                  compression  off       default
data01/mkjail/12.3-RELEASE                                     compression  off       default
data01/rsyncer                                                 compression  off       default
$ sudo zfs set compression=on data01
$ zfs get -r -t filesystem compression data01
NAME                                                           PROPERTY     VALUE     SOURCE
data01                                                         compression  on        local
data01/freshports                                              compression  on        inherited from data01
data01/freshports/ingress01                                    compression  on        inherited from data01
data01/freshports/ingress01/var                                compression  on        inherited from data01
data01/freshports/ingress01/var/db                             compression  on        inherited from data01
data01/freshports/ingress01/var/db/freshports                  compression  on        inherited from data01
data01/freshports/ingress01/var/db/freshports/cache            compression  on        inherited from data01
data01/freshports/ingress01/var/db/freshports/cache/html       compression  on        inherited from data01
data01/freshports/ingress01/var/db/freshports/cache/spooling   compression  on        inherited from data01
data01/freshports/ingress01/var/db/freshports/message-queues   compression  on        inherited from data01
data01/freshports/ingress01/var/db/ingress                     compression  on        inherited from data01
data01/freshports/ingress01/var/db/ingress/message-queues      compression  on        inherited from data01
data01/freshports/ingress01/var/db/ingress/repos               compression  on        inherited from data01
data01/freshports/ingress01/var/db/ingress_svn                 compression  on        inherited from data01
data01/freshports/ingress01/var/db/ingress_svn/mail            compression  on        inherited from data01
data01/freshports/ingress01/var/db/ingress_svn/message-queues  compression  on        inherited from data01
data01/freshports/ingress01/var/db/ingress_svn/signals         compression  on        inherited from data01
data01/freshports/jailed                                       compression  on        inherited from data01
data01/freshports/jailed/ingress01                             compression  on        inherited from data01
data01/freshports/jailed/ingress01/jails                       compression  on        inherited from data01
data01/freshports/jailed/ingress01/jails/freshports            compression  on        inherited from data01
data01/freshports/jailed/ingress01/mkjail                      compression  on        inherited from data01
data01/freshports/nginx01                                      compression  on        inherited from data01
data01/freshports/nginx01/var                                  compression  on        inherited from data01
data01/freshports/nginx01/var/db                               compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports                    compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache              compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/categories   compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/commits      compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/daily        compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/general      compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/news         compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/packages     compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/pages        compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/ports        compression  on        inherited from data01
data01/freshports/nginx01/var/db/freshports/cache/spooling     compression  on        inherited from data01
data01/jails                                                   compression  on        inherited from data01
data01/jails-tmp                                               compression  on        inherited from data01
data01/jails-tmp/ingress01                                     compression  on        inherited from data01
data01/jails-tmp/mx-ingress04                                  compression  on        inherited from data01
data01/jails-tmp/nginx01                                       compression  on        inherited from data01
data01/jails/ingress01                                         compression  on        inherited from data01
data01/jails/mx-ingress04                                      compression  on        inherited from data01
data01/jails/nginx01                                           compression  on        inherited from data01
data01/mkjail                                                  compression  on        inherited from data01
data01/mkjail/12.3-RELEASE                                     compression  on        inherited from data01
data01/rsyncer                                                 compression  on        inherited from data01
$ 
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive