root partition "full"

Cool_Fire

New Member
Jan 4, 2013
11
0
1
I'm having an odd problem where the root partition is reported to be full but in reality is not.
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/pve-root   95G   95G     0 100% /
tmpfs                 3.9G     0  3.9G   0% /lib/init/rw
udev                  3.9G  312K  3.9G   1% /dev
tmpfs                 3.9G   13M  3.9G   1% /dev/shm
/dev/mapper/pve-data  1.7T 1013G  704G  60% /var/lib/vz
/dev/sda1             495M   85M  386M  18% /boot
/dev/sdb1             3.6T  1.9T  1.6T  55% /backup
overflow              1.0M  1.0M     0 100% /tmp
/dev/fuse              30M   64K   30M   1% /etc/pve

It tells me 95G is being used while in reality only about 1.8G is in use (according to ncdu)
I've done du/find type operations to try and locate large files but as expected with no results.
I've looked at free inodes (only 13% in use)
I've tried rebooting the node
I've done filesystem check and repair

Any ideas?
 
Try this:

Create dir in for example /mnt/temp-root

mount /dev/pve/root /mnt/temp-root
du -shx /mnt/temp-root/*

The most situation, when is at to root mounted another file system like pve-data has no reporting data "under" the mount.
 
AH! I think this did in fact help me figure out the problem.
It seems to have made a backup to /backup at some point when the normal backup drive was not mounted so it wrote all the backup data to a folder /backup on the root partition.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!