Hello!
I have a question, that I seems can not find answer to.
From time to time I get a qubes disk full error in “Disk usage” widget. Standard one:
QUBES_NAME: volume private is XX.X% full.
When XX.X% is greater that 90%. Usually, this error correctly reflect situation and I either increase disk size in qube settings and/or delete some files in qube.
But for several particular qubes utilities inside qube shows different usage information.
E.g. Information as reported by df -h, 54% only used.
user@QUBE_NAME:~/$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/dmroot 20G 7.5G 11G 41% /
none 20G 7.5G 11G 41% /usr/lib/modules
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 1.0G 7.6M 1017M 1% /dev/shm
tmpfs 187M 480K 187M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/xvdb 18G 9.5G 8.2G 54% /rw
tmpfs 94M 92K 94M 1% /run/user/1000
Also for this qube there is “Disk widget” error, which says that disk is 93.3% full. I believe this info is takes from lvs command in dom0. This command reports 93.32% usage.
[user@dom0 ~]$ sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root qubes_dom0 Vwi-aotz-- 20.00g root-pool 51.17
root-pool qubes_dom0 twi-aotz-- 24.00g 42.64 19.83
swap qubes_dom0 -wi-a----- <3.93g
vm-QUBE_NAME-private qubes_dom0 Vwi-a-tz-- 18.00g vm-pool vm-QUBE_NAME-1747847796-back 93.32
vm-QUBE_NAME-private-1747829970-back qubes_dom0 Vwi-a-tz-- 18.00g vm-pool 92.35
vm-QUBE_NAME-private-1747847796-back qubes_dom0 Vwi-a-tz-- 18.00g vm-pool vm-QUBE_NAME-private-1747829970-back 93.03
vm-QUBE_NAME-private-snap qubes_dom0 Vwi-aotz-- 18.00g vm-pool vm-QUBE_NAME-private 94.25
vm-QUBE_NAME-root-snap qubes_dom0 Vwi-aotz-- 20.00g vm-pool vm-TEMPLATE-root-1747908038-back 50.70
vm-QUBE_NAME-volatile qubes_dom0 Vwi-aotz-- 10.00g vm-pool 0.02
Currently as workaround I am mounting said private image to new qube, and copy /home/user
directory to new qube. Which “fixes” this notification.
I’ve tried to follow this topic advice on issuing fstrim command, however that does not help.
Does anyone happen to know more permanent fix for this situation.