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