Le 19/08/2020 à 09:30, Eva Star a écrit :
Hello,
ncdu /rw - show that actually used less then 1G of data
df -h show: /dev/xvdb 2.0G 1.8G(used) 171M 92% /rw (show that
used 1.8G)
qvm-ls --format disk is also show that used 1900 MB and 92% of disk space.
So, where is 1G of free space?
I don't think it's the source of your problem, but remember that /rw
isn't the only mounting point to /dev/xvdb, so check the space usage of
these others.
Example:
user@mail:~$ df -h /rw
Filesystem Size Used Avail Use% Mounted on
/dev/xvdb 9.8G 3.8G 6.1G 39% /rw
user@mail:~$ mount|grep xvdb
/dev/xvdb on /rw type ext4 (rw,relatime,discard)
/dev/xvdb on /home type ext4 (rw,relatime,discard)
/dev/xvdb on /usr/local type ext4 (rw,relatime,discard)
/dev/xvdb on /var/spool/cron type ext4 (rw,relatime,discard)
user@mail:~$ lsblk /dev/xvdb -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE%
MOUNTPOINT
xvdb ext4 1f6f89a1-be13-4ec9-b151-8115e7a96b14 5.9G 40% /rw
In your case, I think ncdu failed in computing the space usage, me, I
trust df, du and lsblk.
You should check /rw with 'du --max-depth=1' for finding where the du
command find a big disk usage:
Example:
user@mail:~$ sudo du --max-depth=1 -h /rw | sort -h
16K /rw/config
16K /rw/lost+found
20K /rw/bind-dirs
80K /rw/usrlocal
3.9G /rw
3.9G /rw/home
In my case, it's /rw/home the guilty, but what in /rw/home? I continue
recursively and find that it's the Thunderbird IMAP directory:
user@mail:~$ du --max-depth=1 -h
/rw/home/user/.thunderbird/v3bbe2wh.default-default/ | sort -h
4.0K /rw/home/user/.thunderbird/v3bbe2wh.default-default/extensions
4.0K /rw/home/user/.thunderbird/v3bbe2wh.default-default/minidumps
8.0K /rw/home/user/.thunderbird/v3bbe2wh.default-default/datareporting
12K /rw/home/user/.thunderbird/v3bbe2wh.default-default/crashes
32K /rw/home/user/.thunderbird/v3bbe2wh.default-default/Mail
740K /rw/home/user/.thunderbird/v3bbe2wh.default-default/calendar-data
1.5M /rw/home/user/.thunderbird/v3bbe2wh.default-default/storage
3.6G /rw/home/user/.thunderbird/v3bbe2wh.default-default/ImapMail
3.8G /rw/home/user/.thunderbird/v3bbe2wh.default-default/
I hope 'du --max-depth=1' will help you.
--
Ludovic
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/17a1aa2d-34bf-2205-b4e1-9849a18d93d9%40zyrianes.net.