[SOLVED] Proxmox VE won't start

ErwinG

New Member
Jun 8, 2022
15
1
3
My proxmox won't start up any more.
It is installed on a NUC dedicated for Proxmox and vis the browser ipadres:8006 not able to start.
Via Putty it is possible to login on Dibian.
I'am tot a specialist, I think the disk is full, no space.
What can I do to create some space

Regards Erwin
 
hi,

I'am tot a specialist, I think the disk is full, no space.
What can I do to create some space
you can check the disk space first with df -h command. that'll give you an overview of the filesystem occupancy.

from there you can do the following to figure out which folders are taking the most space:
Code:
du -shx /* 2>/dev/null

and go deeper if you need for example: du -shx /var/* 2>/dev/null

once you figure out what's taking so much space you could delete them with the rm command to free some space.
make sure you don't delete anything important.

if you want to have a graphical interface, once you have some amount of space you can do apt install ncdu and run ncdu / as well

hope this helps
 
hi,


you can check the disk space first with df -h command. that'll give you an overview of the filesystem occupancy.

df -h

hope this helps
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 157M 1.4G 10% /run
/dev/mapper/pve-root 57G 57G 0 100% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/nvme0n1p2 511M 312K 511M 1% /boot/efi
tmpfs 1.6G 0 1.6G 0% /run/user/0

This is the result of the first command (df -h)
my opinion is that the map /dev/mapper/pve-root is full.
I know that there is a CT that can deleted and there are drives ?? with my application HomeAssistant. While I only use one.
What is the best approach??

regards Erwin
 
my opinion is that the map /dev/mapper/pve-root is full.
yes looks like that, this is the filesystem that's mounted on your /.
What is the best approach??
i've highlighted an approach on my previous post, that should work.

momentarily you could clean up some cached package files with apt-get clean to create breathing room
 
You can also delete all logs in /var/log ending with a ".gz", ".1", ".2", ".3" and so on. Sometimes this can also free up some GBs.

And sometimes there are failed ISO uploads in /var/tmp consuming alot of space.
 
  • Like
Reactions: oguz
I opend the MAP /dev/mapper

root@pve:/dev/mapper# dir
control pve-data pve-data_tdata pve-data_tmeta pve-data-tpool pve-root pve-swap pve-vm--100--disk--0 pve-vm--100--disk--1 pve-vm--110--disk--0 pve-vm--201--disk--0 pve-vm--801--disk--0

These are the files in the map. pve-vm-100-disk-0 is not used any more! Can I remove this file and how. pve-vm-100-disk-1 is now used by the HomeAssistant application.

Regards Erwin
 
These are the files in the map. pve-vm-100-disk-0 is not used any more! Can I remove this file and how.
you can remove the unused vm disk, though i don't think that it will help you -- the LVM volume that is mounted as your filesystem's root is called pve-root, that is mapped to the filesystem on / according to your df output, so removing that disk won't clear any space in there (it's a different volume)

what you need to first do is removing some unnecessary files on your root filesystem. please do not try deleting something from /dev/mapper :)

@Dunuin also suggested above that you could delete some old logs to free up space, that's probably worth a shot as well.
 
Question, How can I delete a file (auth.log.2.gz) from the /var/log map?
witch command do I need to use?

Erwin
 
Question, How can I delete a file (auth.log.2.gz) from the /var/log map?
witch command do I need to use?

Erwin
as mentioned with the rm command: rm /var/log/auth.log.2.gz or just rm /var/log/*.gz would delete all the compressed log files
 
Thx for your help.
I can startup the VE again. I'am happy.

Regards Erwin
you're welcome.

in time your filesystem might fill up again, so it's probably a good idea to delete/rearrange some more files and/or get a new disk for more storage.

you can mark the thread as [SOLVED] :)
 
I do know the reason of my problem. It was my own fault.
I programmed a backup on the local disk every night at 2 am a few days ago....
This makes the disk full.

Stupid of me

Erwin
 

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!