[SOLVED] proxmox disk partition, no space left on device

kerimdk

Member
Oct 7, 2022
18
1
8
Hello!
when i try to run apt update on my proxmox 7.2 server, i'm getting a list of errors and warnings because the / directory is full and it's saying that there's no space left on the device.

and i don't have a disk partition for LVM storage so i'm not able to add ISO files anymore, what can i do in this case to re-configure the disk partition correctly on my server? any help or idea about the disk configuration would be appreciated.
 

Attachments

  • Screenshot from 2022-11-09 11-58-59.png
    Screenshot from 2022-11-09 11-58-59.png
    111.4 KB · Views: 67
  • Screenshot from 2022-11-09 11-58-11.png
    Screenshot from 2022-11-09 11-58-11.png
    12.6 KB · Views: 65
  • Screenshot from 2022-11-09 11-57-20.png
    Screenshot from 2022-11-09 11-57-20.png
    111.7 KB · Views: 52
  • Screenshot from 2022-11-09 12-43-52.png
    Screenshot from 2022-11-09 12-43-52.png
    114 KB · Views: 48
Last edited:
I'd say dedicating only 10GB to root was not a good idea... First you gotta try to get some free space back, most likely by cleaning up some log files.

Then, resizing the root partition is only possible if you have space left on the disk after that partition. Can you evacuate the contents of /var/lib/vz ? Then you could delete the third partition, increase the size of /dev/sda2 and re-create a smaller third partition.
 
thanks for your reply,
i tried to evacuate the contents of /var/lib/vz and delete the /dev/sda3 partition, but it stills visible on the GPU and lsblk command's output, and not visible in fdisk and parted outputs, and can not delete it 'cause it's busy, i even have killed the process of that file but his content always stills there, i'm not able to increase the size of /dev/sda2 partition because it's the root file.
 

Attachments

  • Screenshot from 2022-11-09 14-12-21.png
    Screenshot from 2022-11-09 14-12-21.png
    132.6 KB · Views: 29
  • Screenshot from 2022-11-09 14-11-28.png
    Screenshot from 2022-11-09 14-11-28.png
    9.7 KB · Views: 24
  • Like
Reactions: kerimdk
Please read the first line of your output and the description of the script
 
  • Like
Reactions: kerimdk
Great! Please mark the thread as solved (edit it, there's a dropdown near the title) so others with the same problem can find it more easily.
 
Glad it helped. 980 MB free isn't exactly a lot. So you might run into this again sooner or later...
actually after that i tried to install NVIDIA vgpu driver but it stopped on 5% then i rebooted the server but it didn't started again and i've formatted it, now i'm having issues with my network conf. on the vms, I'll post about it in a new forum. :')
 

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!