Local Pve-Full

strufin_hood

New Member
Nov 6, 2023
2
0
1
Hi guys,
i'm new and neophyte in proxmonx word.
I have a problem with space in local (pve), the disk is full and I have no idea what is taking up space. The backups are saved on another external disk, I have already deleted the iso images of the operating systems.

questa la risposta
root@pve:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 5.8G 0 5.8G 0% /dev
tmpfs 1.2G 1.1M 1.2G 1% /run
/dev/mapper/pve-root 68G 66G 0 100% /
tmpfs 5.8G 43M 5.8G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda2 1022M 344K 1022M 1% /boot/efi
/dev/sdb1 229G 20G 197G 10% /mnt/pve/hdd
/dev/fuse 128M 20K 128M 1% /etc/pve
tmpfs 1.2G 0 1.2G 0% /run/user/0

root@pve:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 5.8G 0 5.8G 0% /dev
tmpfs 1.2G 1.1M 1.2G 1% /run
/dev/mapper/pve-root 68G 66G 0 100% /
tmpfs 5.8G 43M 5.8G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda2 1022M 344K 1022M 1% /boot/efi
/dev/sdb1 229G 20G 197G 10% /mnt/pve/hdd
/dev/fuse 128M 20K 128M 1% /etc/pve
tmpfs 1.2G 0 1.2G 0% /run/user/0

What shall i do?
thanks
Thomas
 
Hi,
you could use a tool like ncdu to find out where the disk usage comes from. It should be in the official debian repository.

Bash:
cd /
ncdu -x
 
unfortunatly i can't install the package cause i'havent no more free space...

root@pve:/ sudo apt install ncdu
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
ncdu
0 upgraded, 1 newly installed, 0 to remove and 92 not upgraded.
Need to get 46.9 kB of archives.
After this operation, 111 kB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.
 
If you don't care about (old) logs, you can remove the files from the /var/log/ directory. Maybe first check if those are (very) large and find out if there is a repeating error message that you might want to fix. Also check if you are making backups to the root filesystem instead of another drive, which typically happens when a mount failed or is forgotten. More details can be found in very similar (old) threads on this forum.