You are not logged in.
I just noticed that I'm close to using 70% of my root partition. However, I did some analysis and I can't see what could be using so much disk space. Below are the stats. I've cleaned up orphaned packages and I have the latest packages. The last output is from ncdu.
$ df -h
Filesystem Size Used Avail Use% Mounted on
dev 7.8G 0 7.8G 0% /dev
run 7.9G 1.2M 7.9G 1% /run
/dev/nvme0n1p3 212G 135G 67G 68% /
tmpfs 7.9G 39M 7.8G 1% /dev/shm
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
tmpfs 7.9G 40K 7.9G 1% /tmp
/dev/nvme0n1p2 488M 57M 396M 13% /boot
/dev/sda1 880G 121G 714G 15% /home
/dev/sdb1 916G 118G 752G 14% /mnt/Backup
tmpfs 1.6G 8.0K 1.6G 1% /run/user/1000
$ df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
dev 2.0M 507 2.0M 1% /dev
run 2.0M 806 2.0M 1% /run
/dev/nvme0n1p3 14M 1.1M 13M 8% /
tmpfs 2.0M 69 2.0M 1% /dev/shm
tmpfs 2.0M 18 2.0M 1% /sys/fs/cgroup
tmpfs 2.0M 19 2.0M 1% /tmp
/dev/nvme0n1p2 32K 368 32K 2% /boot
/dev/sda1 56M 681K 56M 2% /home
/dev/sdb1 59M 617K 58M 2% /mnt/Backup
tmpfs 2.0M 22 2.0M 1% /run/user/1000
--- / --------------------------------------------------------------------------
120.7 GiB [##########] /home
117.5 GiB [######### ] /mnt
18.7 GiB [# ] /var
6.5 GiB [ ] /usr
55.7 MiB [ ] /boot
53.9 MiB [ ] /root
40.9 MiB [ ] /opt
10.7 MiB [ ] /etc
. 1.1 MiB [ ] /run
40.0 KiB [ ] /tmp
e 16.0 KiB [ ] /lost+found
12.0 KiB [ ] /srv
e 4.0 KiB [ ] /backup
. 0.0 B [ ] /proc
0.0 B [ ] /sys
0.0 B [ ] /dev
@ 0.0 B [ ] Los_Angeles
@ 0.0 B [ ] sbin
@ 0.0 B [ ] lib64
@ 0.0 B [ ] lib
@ 0.0 B [ ] binLast edited by goro9922 (2020-01-02 23:18:58)
Offline
Hi!
Try unmounting your backup-partition and have a look at /mnt. Perhaps a misconfigured rsync-command or similar did populate it instead of your backup-partition.
Offline
There's a bug in btrfs: https://bbs.archlinux.org/viewtopic.php?id=251806
Offline
Hi!
Try unmounting your backup-partition and have a look at /mnt. Perhaps a misconfigured rsync-command or similar did populate it instead of your backup-partition.
You're right. In /etc/fstab I have an entry for /dev/sdb1 but I only waited 1 second for the partition to be available, As a result, my backup program was backing up files to the root partition. I've fixed the issue by 1) increasing the timeout and 2) removing the files under / that was supposed to go to my external drive. To prevent this from happening in the future, I probably need to detect if /dev/sdb1 was mounted and don't rsync files if it is not.
Offline