Warning: unable to close filehandle GEN4 properly: No space left on device at /usr/share/perl5/PVE/APIServer/Any

GAS

New Member
Oct 26, 2023
28
2
3
Can anyone guide me how to reduce the local hd space it's almost full and my server restarted this morning I think this is the issue...

root@pve4:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 63G 0 63G 0% /dev
tmpfs 13G 26M 13G 1% /run
/dev/mapper/pve-root 27G 26G 0 100% /
tmpfs 63G 57M 63G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/sdf2 511M 324K 511M 1% /boot/efi
tmpfs 63G 24K 63G 1% /var/lib/ceph/osd/ceph-12
tmpfs 63G 24K 63G 1% /var/lib/ceph/osd/ceph-10
tmpfs 63G 24K 63G 1% /var/lib/ceph/osd/ceph-13
tmpfs 63G 24K 63G 1% /var/lib/ceph/osd/ceph-9
tmpfs 63G 24K 63G 1% /var/lib/ceph/osd/ceph-11
/dev/fuse 30M 132K 30M 1% /etc/pve
tmpfs 13G 0 13G 0% /run/user/0
 

Attachments

  • pve4 local HD space.jpg
    pve4 local HD space.jpg
    34.8 KB · Views: 5

Attachments

  • 5555.jpg
    5555.jpg
    158.8 KB · Views: 4
You should use the forum code-editor to enter ouput (the </> button on the forum response bar) as I have done.

Now see which logs are filling your space with:
Code:
du -h -x -d1 /var/log/
 
Should I delete the log file that is in tar.gz format to resolve the issue?
Probably - but I don't use ceph - so I'm not going to directly advise you - I would follow the advice I linked to above.

Interestingly - I don't see where your default node logging is going.
Have you already deleted it - or do you have some exotic configuration for logging?
 
Probably - but I don't use ceph - so I'm not going to directly advise you - I would follow the advice I linked to above.

Interestingly - I don't see where your default node logging is going.
Have you already deleted it - or do you have some exotic configuration for logging?
I have cleared the large log files from /var/log/ceph, but the issue persists.
 

Attachments

  • pve4 local.jpg
    pve4 local.jpg
    37.4 KB · Views: 1
Show output again for:
Code:
du -h -x -d1 /var/log/

#  also show again:

du -h -x -d1 /var

#  also show again:

du -h -x -d1 /

You should use the forum code-editor to enter ouput (use the </> button on the forum response bar) as I have done.
 
Show output again for:
Code:
du -h -x -d1 /var/log/

#  also show again:

du -h -x -d1 /var

#  also show again:

du -h -x -d1 /

You should use the forum code-editor to enter ouput (use the </> button on the forum response bar) as I have done.
 

Attachments

  • log-all.jpg
    log-all.jpg
    42.4 KB · Views: 4
Looks good to me. What does this show now:
Code:
df -h
You should use the forum code-editor to enter ouput (use the </> button on the forum response bar) as I have done.