We had this suggestion recently:
On 04/28/19 18:30, Michal Nowak wrote:
$ zfs get volsize rpool/swap
$ pfexec zfs set volsize=24g rpool/swap
$ pfexec reboot
I have had strange case this morning, when my rpool (SSD 256GB) was
occupying 120GB and / partition was 100% full (there are some user
directories there, few Zones, log etc).
I saw that rpool/swap "eat" whole 24GB of space I have assigned it
earlier...
(as dirty fix, I have reduced size of volume to small number, and then
rebooted - which has left 20+ GB free!). Right now:
:; zfs list -o
compression,compressratio,used,avail,refer,canmount,mountpoint,name -r
rpool/ROOT rpool/swap
COMPRESS RATIO USED AVAIL REFER CANMOUNT MOUNTPOINT NAME
off 1.00x 96,0G 37,8G 19K off legacy
rpool/ROOT
off 1.00x 8,17G 37,8G 8,17G - -
rpool/swap
:; zfs get volsize rpool/swap
NAME PROPERTY VALUE SOURCE
rpool/swap volsize 24G local
Is there any better way to free space on rpool/swap volume (before, for
example, I start FF)?
Is it safe to enable compression of rpool?
With best regards.
Predrag Zečević
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH
tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: [email protected]
headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss