No space left on device (500)

Reuven

Member
Oct 22, 2019
73
2
11
58
When I tried to start my only VM in my node I get this message:


closing file '/var/log/pve/tasks/active.tmp.1055' failed - No space left on device (500)


I recently expanded my swap to 90GB...maybe this is the issue ?

If so how do I reduce its size or move my swap to a second disk?

All the best and thanks for your help. Reuven
 
Hi everyone. Quick and rather urgent question:

How can I enlarge the root partition?. The disk is 500GB and the root partition is 94GB....and it is full...

here is my info:

root@pve:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 794M 89M 706M 12% /run
/dev/mapper/pve-root 94G 94G 0 100% /
tmpfs 3.9G 40M 3.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
ZFStest 481G 128K 481G 1% /ZFStest
/dev/fuse 30M 16K 30M 1% /etc/pve
tmpfs 794M 0 794M 0% /run/user/0
 
Hi Stephan. Thanks for your reply and help.

here they are:

root@pve:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <699.50g 215.99g

root@pve:~# vgs
/etc/lvm/archive/.lvm_pve_5069_2130874180: fclose failed: No space left on device
/etc/lvm/archive/.lvm_pve_5069_2121504464: fclose failed: No space left on device
Failed to write metadata to /etc/lvm/backup/.lvm_pve_5069_1152394174.
/etc/lvm/backup/.lvm_pve_5069_1152394174: fclose failed: No space left on device
Backup of volume group pve metadata failed.
VG #PV #LV #SN Attr VSize VFree
pve 1 6 0 wz--n- <699.50g 215.99g

root@pve:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpync Convert
data pve twi-aotz-- <372.89g 5.77 0.71
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 7.00g
vm-100-disk-0 pve Vwi-a-tz-- 15.00g data 0.00
vm-101-disk-0 pve Vwi-a-tz-- 15.00g data 0.00
vm-102-disk-0 pve Vwi-a-tz-- 45.00g data 47.82

Thanks again and all the best reuven
 
  • Like
Reactions: majorgear