[SOLVED] Update: No space left on device - HELPat

fraksken

New Member
Feb 5, 2015
29
3
1
Belgium
remisan.be
Hello,

My Proxmox box (Debian 7.8) needs updating, but whenever I want to do anything, I get the error that my device is full:
Code:
Preparing to replace multiarch-support 2.13-38+deb7u7 (using .../multiarch-support_2.13-38+deb7u8_amd64.deb) ...Unpacking replacement multiarch-support ...
Processing triggers for man-db ...
/usr/bin/mandb: can't write to /var/cache/man/201484: No space left on device
Errors were encountered while processing:
 /var/cache/apt/archives/smbclient_2%3a3.6.6-6+deb7u5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The disks, however, are not full. (only 200GB of 2TB used)

There are also a lot of Inodes free:
Code:
:/# df -iFilesystem                 Inodes  IUsed     IFree IUse% Mounted on
udev                      4102706    760   4101946    1% /dev
tmpfs                     4105235    599   4104636    1% /run
/dev/md2                  1281120  75674   1205446    6% /
tmpfs                     4105235     16   4105219    1% /run/lock
tmpfs                     4105235     38   4105197    1% /run/shm
/dev/mapper/pve-data    120487936 442390 120045546    1% /var/lib/vz
/dev/fuse                   10000     39      9961    1% /etc/pve
/var/lib/vz/private/104   6400000  34064   6365936    1% /var/lib/vz/root/104
tmpfs                      524288     36    524252    1% /var/lib/vz/root/104/run
tmpfs                      524288      1    524287    1% /var/lib/vz/root/104/run/lock
tmpfs                      524288      2    524286    1% /var/lib/vz/root/104/run/shm
/var/lib/vz/private/106 120108922  63376 120045546    1% /var/lib/vz/root/106
tmpfs                      524288     34    524254    1% /var/lib/vz/root/106/run
tmpfs                      524288      2    524286    1% /var/lib/vz/root/106/run/lock
tmpfs                      524288      2    524286    1% /var/lib/vz/root/106/run/shm

I do note that one of the 1K-block partitions is full:
Code:
# df -lFilesystem               1K-blocks     Used  Available Use% Mounted on
udev                         10240        0      10240   0% /dev
tmpfs                      3284188      376    3283812   1% /run
/dev/md2                  20317384 20302064          0 100% /
tmpfs                         5120        0       5120   0% /run/lock
tmpfs                      6987380    18648    6968732   1% /run/shm
/dev/mapper/pve-data    1912594928 47419248 1768786560   3% /var/lib/vz
/dev/fuse                    30720       24      30696   1% /etc/pve
/var/lib/vz/private/104   33554432  1193480   32360952   4% /var/lib/vz/root/104
tmpfs                       419432       52     419380   1% /var/lib/vz/root/104/run
tmpfs                         5120        0       5120   0% /var/lib/vz/root/104/run/lock
tmpfs                       943700        0     943700   0% /var/lib/vz/root/104/run/shm
/var/lib/vz/private/106  838860800  9796884  829063916   2% /var/lib/vz/root/106
tmpfs                       419432       44     419388   1% /var/lib/vz/root/106/run
tmpfs                         5120        0       5120   0% /var/lib/vz/root/106/run/lock
tmpfs                       943700        0     943700   0% /var/lib/vz/root/106/run/shm
How can I clear this?
 
Last edited:
Great. So my / partition is full:
:/# df -hFilesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 3.2G 376K 3.2G 1% /run
/dev/md2 20G 20G 0 100% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 6.7G 19M 6.7G 1% /run/shm
/dev/mapper/pve-data 1.8T 46G 1.7T 3% /var/lib/vz
/dev/fuse 30M 24K 30M 1% /etc/pve
/var/lib/vz/private/104 32G 1.2G 31G 4% /var/lib/vz/root/104
tmpfs 410M 52K 410M 1% /var/lib/vz/root/104/run
tmpfs 5.0M 0 5.0M 0% /var/lib/vz/root/104/run/lock
tmpfs 922M 0 922M 0% /var/lib/vz/root/104/run/shm
/var/lib/vz/private/106 800G 9.4G 791G 2% /var/lib/vz/root/106
tmpfs 410M 44K 410M 1% /var/lib/vz/root/106/run
tmpfs 5.0M 0 5.0M 0% /var/lib/vz/root/106/run/lock
tmpfs 922M 0 922M 0% /var/lib/vz/root/106/run/shm

I'm looking for a fix and will reply to this thread if I find one.

What is an acceptable size for the root partition?
 
found the problem.
on /mnt/ftp_backup there was a folder mounted to an FTP store. For one or the other reason, the system writes to the local disk as well as the FTP share...
Topic closed.
 

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!