Jump to content

Can't boot VMs, error says /var/log is getting full (currently 100 % used)


Recommended Posts

Good day!

 

I have been having some issues with my server after my last reboot, my win10 VM is not booting anymore, gives the error "Unable to write to file /var/log/libvirt/qemu/Windows 10.log: No space left on device".

 

Additionally fix common problems is reporting "/var/log is getting full (currently 100 % used)", I went into the actual folder and I don't any big logs taking space, I also went through all the server and everything else seems to be working.

 

I attach my diagnostics.

 

Any help is appreciated.

 

Thanks!

myserver0-diagnostics-20230506-1315.zip

Link to comment
  • 3 weeks later...

Ok, so I deleted the /var/log/log1 file that was filling up my log, however, it just gets filled again in less than a day, which means there is some underlying problem that I am not seeing. Went to the logs and I have this as a recurring

 

May 16 13:45:22 myserver0 kernel: vfio-pci 0000:01:00.0: BAR 1: can't reserve [mem 0x4020000000-0x402fffffff 64bit pref]

 

Any suggestions?

 

Thanks!

 

On 5/6/2023 at 1:31 PM, itimpi said:

The diagnostics show that there is definitely some large files in the logs folder as 128MB has been used.

 

I would suggest running the following commands:

 

ls -l /var/log/*
du -sh /var/l9g/*

 

I would expect the output of one of the commands to show you where the space is being used.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...