Page MenuHomeSoftware Heritage
Paste P1341

zpool create that pool
ActivePublic

Authored by ardumont on Apr 20 2022, 11:54 AM.
root@elastic-worker0:~# puppet agent --test
Info: Using configured environment 'staging'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for elastic-worker0.internal.staging.swh.network
Info: Applying configuration version '1650448422'
Notice: /Stage[main]/Profile::Zfs::Docker/Zpool[data]/ensure: created
Notice: /Stage[main]/Profile::Zfs::Docker/Zfs[data/docker]/ensure: created
Info: /Stage[main]/Profile::Zfs::Docker/Zfs[data/docker]: Scheduling refresh of Service[docker]
Notice: /Stage[main]/Docker::Service/Service[docker]: Triggered 'refresh' from 1 event
Notice: Applied catalog in 2.13 seconds
root@elastic-worker0:~# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
data 19.5G 1.29M 19.5G - - 0% 0% 1.00x ONLINE -
root@elastic-worker0:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
data 186K 18.9G 24K /data
data/docker 35.5K 18.9G 35.5K /var/lib/docker
root@elastic-worker0:~# systemctl status docker | grep Active
Active: active (running) since Wed 2022-04-20 09:53:46 UTC; 21s ago
root@elastic-worker0:~# puppet agent --test
Info: Using configured environment 'staging'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for elastic-worker0.internal.staging.swh.network
Info: Applying configuration version '1650448881'
Notice: Applied catalog in 1.43 seconds
root@elastic-worker0:~# docker run -ti --rm debian:11
Unable to find image 'debian:11' locally
11: Pulling from library/debian
6aefca2dc61d: Pull complete
Digest: sha256:5e9181aedb19a8f04c54544cb441834b645659b7b3705214579086834e7561dd
Status: Downloaded newer image for debian:11
root@elastic-worker0:~# zfs get all | grep compress
data compressratio 2.30x -
data compression off default
data refcompressratio 1.00x -
data/docker compressratio 2.30x -
data/docker compression zstd local
data/docker refcompressratio 1.62x -
data/docker/71de2c708e2470bb995df534b03ffb7b7dcc079401098d98f4df28e0c61dbb92 compressratio 2.31x -
data/docker/71de2c708e2470bb995df534b03ffb7b7dcc079401098d98f4df28e0c61dbb92 compression zstd inherited from data/docker
data/docker/71de2c708e2470bb995df534b03ffb7b7dcc079401098d98f4df28e0c61dbb92 refcompressratio 2.31x -