I don't know where the problem comes from

mypomme

New Member
Oct 26, 2020
6
0
1
28
Hello :)

I need your help! But first I'll explain the beginning.

I have 2 graphic cards in my computer which are for 2 virtual machines under Windows. Everything works perfectly but all of a sudden! The machine with my RTX doesn't want to boot anymore and when I remove the Primary GPU option, the machine works again. But on top of that I have the "local" directory which has no free space while I have no files in the directory. By running df -h here is what I have

Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 346M 2.8G 11% /run
/dev/mapper/pve-root 57G 57G 0 100% /
tmpfs 16G 40M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/nvme0n1p2 511M 312K 511M 1% /boot/efi
/dev/fuse 30M 20K 30M 1% /etc/pve
10.0.1.2:/volume1/backup 21T 3.4T 18T 17% /mnt/pve/NASSYS
tmpfs 3.2G 0 3.2G 0% /run/user/0

I don't understand and I don't find my problem or I don't understand it. But now it's impossible to shut down the VM from the interface because I get the message telling me that I have no more free space.

Can you help me ?

Thank you !
 

Attachments

  • Capture d'écran 2020-10-26 à 18.51.24 PM.png
    Capture d'écran 2020-10-26 à 18.51.24 PM.png
    67.6 KB · Views: 3
  • Capture d'écran 2020-10-26 à 18.51.49 PM.png
    Capture d'écran 2020-10-26 à 18.51.49 PM.png
    13.7 KB · Views: 3
  • Capture d'écran 2020-10-26 à 18.51.56 PM.png
    Capture d'écran 2020-10-26 à 18.51.56 PM.png
    64.9 KB · Views: 3
Your root filesystem is full /dev/mapper/pve-root 57G 57G 0 100% /. You will need to investigate that. du would be your friend here. Where is your VM storage at?
 
hello,

Thanks for your answer but in my proxmox configuration the virtual machines store all the information on another hard drive. And this works. I don't understand why the "local" or "/dev/mapper/pve-root" location is filled when it contains only one ISO file.

And when I remove the graphics card from my virtual machine. It works again. You can see the attachments of my previous message and this message. In addition here is what the return command does.

root@master:~# du /dev/mapper/pve-root
0 /dev/mapper/pve-root
root@master:~# du -sh /dev/mapper/pve-root
0 /dev/mapper/pve-root
root@master:~# du -sB K /dev/mapper/pve-root
0K /dev/mapper/pve-root
root@master:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 354M 2.8G 12% /run
/dev/mapper/pve-root 57G 57G 0 100% /
tmpfs 16G 37M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/nvme0n1p2 511M 312K 511M 1% /boot/efi
/dev/fuse 30M 20K 30M 1% /etc/pve
10.0.1.2:/volume1/backup 21T 3.4T 18T 17% /mnt/pve/NASSYS
tmpfs 3.2G 0 3.2G 0% /run/user/0
root@master:~# du -sSh /dev/mapper/pve-root
0 /dev/mapper/pve-root
 

Attachments

  • Capture d'écran 2020-10-27 à 08.48.39 AM.png
    Capture d'écran 2020-10-27 à 08.48.39 AM.png
    49.6 KB · Views: 2
Hi,
hello,

Thanks for your answer but in my proxmox configuration the virtual machines store all the information on another hard drive. And this works. I don't understand why the "local" or "/dev/mapper/pve-root" location is filled when it contains only one ISO file.

And when I remove the graphics card from my virtual machine. It works again. You can see the attachments of my previous message and this message. In addition here is what the return command does.

root@master:~# du /dev/mapper/pve-root
0 /dev/mapper/pve-root
root@master:~# du -sh /dev/mapper/pve-root
0 /dev/mapper/pve-root
root@master:~# du -sB K /dev/mapper/pve-root
0K /dev/mapper/pve-root
root@master:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 354M 2.8G 12% /run
/dev/mapper/pve-root 57G 57G 0 100% /
tmpfs 16G 37M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/nvme0n1p2 511M 312K 511M 1% /boot/efi
/dev/fuse 30M 20K 30M 1% /etc/pve
10.0.1.2:/volume1/backup 21T 3.4T 18T 17% /mnt/pve/NASSYS
tmpfs 3.2G 0 3.2G 0% /run/user/0
root@master:~# du -sSh /dev/mapper/pve-root
0 /dev/mapper/pve-root
it does not only contain a single ISO, but your whole system (it is mounted on /). What you see in the GUI is the default local directory storage with path /var/lib/vz. The root partition is not a storage in PVE, because PVE storages are intended to contain certain content types, not host system data.
 
Last edited:
Hi,

Thanks

Okay my apologies then, how do I get each machine to write what their looks like on another location or how do I fix the problem I'm encountering?
 
Because when I check every folder in /var/lib/vz I only find my ISO and nothing else.

root@master:/# of -sh /var/lib/vz/
5.1G /var/lib/vz/
 
As @jrtolle suggested, you can use du to see what's taking up your disk space. I suggest starting with
Code:
du -hs /*
and then going down from there, e.g. continue with
Code:
du -hs /var/*
if /var takes up a lot of space.
 
Thanks :) The problem comes from the "Log" folder

root@master:~# du -hs /var/log/*
20K /var/log/alternatives.log
52K /var/log/apt
12K /var/log/auth.log
32K /var/log/auth.log.1
4.0K /var/log/btmp
4.0K /var/log/ceph
8.0K /var/log/corosync
1012K /var/log/daemon.log
1.3M /var/log/daemon.log.1
12K /var/log/debug
44K /var/log/debug.1
356K /var/log/dpkg.log
8.0K /var/log/faillog
4.0K /var/log/fontconfig.log
4.0K /var/log/glusterfs
17G /var/log/kern.log
12K /var/log/lastlog
8.0K /var/log/lxc
8.0K /var/log/mail.info
4.0K /var/log/mail.info.1
8.0K /var/log/mail.log
4.0K /var/log/mail.log.1
4.0K /var/log/mail.warn
4.0K /var/log/mail.warn.1
17G /var/log/messages
4.0K /var/log/private
968K /var/log/pve
8.0K /var/log/pveam.log
4.0K /var/log/pve-firewall.log
4.0K /var/log/pve-firewall.log.1
4.0K /var/log/pve-firewall.log.2.gz
4.0K /var/log/pve-firewall.log.3.gz
4.0K /var/log/pve-firewall.log.4.gz
2.1M /var/log/pveproxy
4.0K /var/log/samba
17G /var/log/syslog
316K /var/log/syslog.1
16K /var/log/syslog.2.gz
20K /var/log/syslog.3.gz
36M /var/log/syslog.4.gz
4.0K /var/log/user.log
4.0K /var/log/user.log.1
16K /var/log/vzdump
28K /var/log/wtmp

And I can't open file because no space haha ..