[SOLVED] /dev/mapper/pve-root filling up on file transfer

noviceiii

New Member
Oct 16, 2021
10
2
3
46
Dear all

Moved from ESXi to proxmox I already gain experiences :)

I have an issue with /dev/mapper/pve-root running out of disk space. It does that until no space is left.
It does this, if several 1 TB files (database backup, zip files) with SCP (in one go) from one vm to another.
I have extended pve_root to buy me some time. It now has 50GB which should be plenty IMHO.

Further, I have set the disc controller to virtIO, changed to direct write (unsafe) and disabled syslog. That bought some time too, but neither action avoids the root partition of the host to be filled up.

Is there a way to prevent the guest systems filling up the hosts root partition?

Kind regards,
Oliver

df -h
1634466577266.png
 
Last edited:
Digging a bit further into it, I may face two issues:
- one is the mentioned fillup of the pve root
- second is the IO delay by the discs

For the latter I suspect a crappy onboard SATA controller on the mainboard. I may just have to life with that.
For the first, any advice would be welcome.

As a work around, one can limit the bandwith of scp by adding -l flag.
E.g, this limits the speed to 1 MB/s
Code:
scp -l 10000 /source/file/ user@server:/target/dir/
 
Last edited:
First you should find out what exactly fills up your pve-root. You could try something like du -a / | sort -n -r | head -n 20 to see what are the biggest files and folders.
 
  • Like
Reactions: noviceiii
Indeed a rather obvious suggestion.. :)

It seems that somebody (me) had messed up fstab. Not juts a little. Realy. I had some false mounts that saved data to the /mnt directory.

Thank you.
 

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!