No space left on device, how to add space on the disk?

sv_stas_sv

New Member
Jul 22, 2017
1
0
1
46
root@Proxmox-VE ~ # df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 9.5G 8.8M 9.5G 1% /run
/dev/dm-0 50G 46G 738M 99% /
tmpfs 24G 40M 24G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 24G 0 24G 0% /sys/fs/cgroup
/dev/sda1 488M 49M 414M 11% /boot
/dev/fuse 30M 16K 30M 1% /etc/pve
tmpfs 4.8G 0 4.8G 0% /run/user/0
 
I used these instructions to add space to my local lvm. Basically, check your disk, there should be a local volume and a local lvm volume. I increased my local lvm volume by installing a second disk, creating a lvm partition on it with fdisk, then used the commands listed in the tutorial to add that newly available space to my "local lvm" volume.

In your case, I think you'd want to extend pve-root instead of pve-data, since your root partition is the one that is full. This will appear under "local" in your pve gui.

https://pve.proxmox.com/wiki/Extending_Local_Container_Storage
 

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!