Error: no space left on device when I try to update.

Nov 25, 2020
9
0
1
37
I'm guessing this is because df -h shows / at 100% capacity. I have plenty of unused space on the disk, though. I want to allocate more space to the needed directory. The only thread I found on here were people suggesting to hunt down big files and delete them. All they say is use 'du' command. Well that pulls up 90k files. Come on. How to I just add more space ? This is stupid. It was basically full immediately after install and it's a 1TB drive cloned from a 500gb drive with unallocated space given to sda3. I attached results of df -h and lsblk to try and help everyone understand.
 

Attachments

  • df -h after clone.PNG
    df -h after clone.PNG
    32.1 KB · Views: 11
  • lsblk after clone.PNG
    lsblk after clone.PNG
    48.5 KB · Views: 10
Last edited:
you probably can increase the lv size of the root lv and increase the fs size on it with the lvm tools (e.g. lvchange etc) but since this is the root fs, you'd have to do it via a live cd i guess (not so sure about that)
 
This usually happens if users create backups on the local storage.

See if there are any backups on local storage.

Move them to a proper storage.
 
This usually happens if users create backups on the local storage.

See if there are any backups on local storage.

Move them to a proper storage.
So you're right, I did do that. Since I've made a ZFS mirror for backups. I removed the foolish backup I made, still having the same issue. Any Idea how to allocate that space so I can update?
 
So you're right, I did do that. Since I've made a ZFS mirror for backups. I removed the foolish backup I made, still having the same issue. Any Idea how to allocate that space so I can update?

Removing backups should free the space.

Make sure there are no backups under /var/lib/vz/dump left.

Please post the output of "du -hs /var/lib/vz/*"
 
Okay it's not backups then.

Go to "/var/log/" and delete some file >= 5mb (or move it)

Then run "apt update && apt install -y ncdu"

In case this fails you have some process constantly writing to your disk and filling it in no time.

Run "ncdu -x /" and it will show you where the files are.
 
  • Like
Reactions: prometheous
Okay it's not backups then.

Go to "/var/log/" and delete some file >= 5mb (or move it)

Then run "apt update && apt install -y ncdu"

In case this fails you have some process constantly writing to your disk and filling it in no time.

Run "ncdu -x /" and it will show you where the files are.
So check this out, not sure how to rm this. or view it. I recall seeing something like this that was 94GB .
 

Attachments

  • in varlog.PNG
    in varlog.PNG
    64 KB · Views: 8
check the journal in /var/log/journal
that also can take up significant space
 

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!