September 26, 20223 yr Hello, I had an unclean shutdown (power cut and powered back up itself) for some reason when passing a gpu to a vm. Since then, I have not been able to start libvirt. Diag attached. My /etc/libvirt/ dir seems to have been automatically renamed to /etc/libvirt-/. What does a dash at the end of a directory signify? Can I just do the following? mv /etc/libvirt-/ /etc/libvirt/ Noteworthy errors: syslog root: /usr/sbin/libvirtd: error: Unable to initialize network sockets. Check /var/log/messages or run without --daemon for more info. libvirt 17277: error : virNetSocketNewListenUNIX:511 : Failed to bind socket to '/var/run/libvirt/libvirt-sock': Address already in use BTW, deleting libvirt img did not fix the issue. Thanks in advance, Kevin everest-diagnostics-20220926-1422.zip Edited September 26, 20223 yr by Kevinb123213 included unraid version in title as required
September 26, 20223 yr Author Solution TL;DR Files ending in a dash seem to indicate some sort of corruption. Long version: Found the solution. I think I should share it as it may help others. Apparently my setup cuts power and resets when I passthrough one of my GPUs - specifically the Nvidida Quadro K600. Knowing that I had an unclean shutdown, I went down the thought processes of data corruption. Which made me remember, a while back I noticed on a corrupted copy unraid usb, the dash ending files (syslinux-) appeared there too. So, I ran the following and pressed option 2 to restore from backup. fsck /boot At this point I restarted and was able to start libvirt. Now time to figure why my K600 is causing reset. -Kevin
October 5, 20223 yr On 9/26/2022 at 5:52 PM, Kevinb123213 said: TL;DR Files ending in a dash seem to indicate some sort of corruption. Long version: Found the solution. I think I should share it as it may help others. Apparently my setup cuts power and resets when I passthrough one of my GPUs - specifically the Nvidida Quadro K600. Knowing that I had an unclean shutdown, I went down the thought processes of data corruption. Which made me remember, a while back I noticed on a corrupted copy unraid usb, the dash ending files (syslinux-) appeared there too. So, I ran the following and pressed option 2 to restore from backup. fsck /boot At this point I restarted and was able to start libvirt. Now time to figure why my K600 is causing reset. -Kevin I just had this happen but your solution didn't seem to work. My /etc/libvirt is empty but /etc/libvirt- has contents. Should I copy libvirt- over libvirt, run the fsck, and then reboot? This is driving me insane as it’s my work VM 😞 Edited October 5, 20223 yr by jlficken
October 11, 20223 yr Author If you have a backup of your USB. Try and restore from there. Looks like unclean shutdowns are the cause of corrupting files.
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.