Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Libvirt fails to start

Featured Replies

Hi all,

I made a bit of a mistake and now Libvirt is failing to start (Lesson: don't fool around in Krusader when you don't know what you're doing). 

 

When I reboot the server, it does manage to start, but if I stop it, it won't come back up.

I was cleaning up some disk images trying to clear up space on my VM cache disk and I used Krusader to delete a folder under Unraid/cachevm/domains.  In the VM Settings logs, I have these errors:

 

2022-11-27 20:53:36.311+0000: 5947: info : libvirt version: 8.2.0
2022-11-27 20:53:36.311+0000: 5947: info : hostname: UNRAID
2022-11-27 20:53:36.311+0000: 5947: error : virDirOpenInternal:2915 : cannot open directory '/mnt/user/domains/Server2008R2_TMPL': No such file or directory
2022-11-27 20:53:36.311+0000: 5947: error : storageDriverAutostartCallback:215 : internal error: Failed to autostart storage pool 'Server2008R2_TMPL': cannot open directory '/mnt/user/domains/Server2008R2_TMPL': No such file or directory
2022-11-27 20:53:36.312+0000: 5947: error : virDirOpenInternal:2915 : cannot open directory '/mnt/user/domains/Server2016_TMPL:': No such file or directory
2022-11-27 20:53:36.312+0000: 5947: error : storageDriverAutostartCallback:215 : internal error: Failed to autostart storage pool 'Server2016_TMPL:': cannot open directory '/mnt/user/domains/Server2016_TMPL:': No such file or directory
2022-11-27 20:53:36.312+0000: 5947: error : virDirOpenInternal:2915 : cannot open directory '/mnt/user/domains/SVR2008R2-TMPL': No such file or directory
2022-11-27 20:53:36.312+0000: 5947: error : storageDriverAutostartCallback:215 : internal error: Failed to autostart storage pool 'SVR2008R2-TMPL': cannot open directory '/mnt/user/domains/SVR2008R2-TMPL': No such file or directory
2022-11-27 20:53:41.896+0000: 5936: error : virFileIsSharedFixFUSE:3337 : unable to canonicalize /mnt/user/domains/Server2016_TMPL:/vdisk1.img: No such file or directory
2022-11-27 20:53:41.897+0000: 5936: error : virQEMUFileOpenAs:11519 : Failed to open file '/mnt/user/domains/Server2016_TMPL:/vdisk1.img': No such file or directory

 

The Server2008R2_TMPL doesn't actually exist, but Server2016_TMPL does.

 

unraid-diagnostics-20221127-1557.zip

28 minutes ago, ManfromtheNorth said:

Server2016_TMPL does.

On mobile now so can't look at Diagnostics yet. 

 

What do you get from command line with this? 

ls -lah /mnt/user/domains

 

  • Author

Here is the output:

drwxrwxrwx 1 nobody users  230 Nov 27 16:02 ./
drwxrwxrwx 1 nobody users   68 Nov 27 16:37 ../
-rw-rw-rw- 1 nobody users  11K Sep 18 19:15 .DS_Store
-rw-rw-rw- 1 nobody users 4.0K Apr  5  2022 ._.DS_Store
drwxrwxrwx 1 nobody users   20 Dec 29  2021 GRAYLOG01/
drwxrwxrwx 1 nobody users   80 Oct 16 20:52 HOME_ASSISTANT/
drwxrwxrwx 1 nobody users   20 Jan 21  2022 OBSERV01/
drwxrwxrwx 1 nobody users  160 Nov 27 15:40 Server2016_TMPL:/
drwxrwxrwx 1 nobody users  288 Feb 27  2022 ServerTemplate/
drwxrwxrwx 1 nobody users   20 Jan 29  2022 UBUNTU01/
drwxrwxrwx 1 nobody users  124 Oct 12 10:35 WORKSTATION_BASE/
drwxrwxrwx 1 nobody users  124 Nov 16 14:46 Windows\ 10/

What do you get from the command line with this?

ls -lah /mnt/user/domains/Server2016_TMPL:

 

  • Author

drwxrwxrwx 1 nobody users 140 Nov 27 17:40 ./
drwxrwxrwx 1 nobody users 230 Nov 27 16:02 ../
-rw------- 1 root   root  89G Apr  4  2022 vdisk1-clone-1.img
-rw------- 1 root   root  27G Apr  4  2022 vdisk1-clone-2.img
-rw------- 1 root   root  27G Apr  4  2022 vdisk1-clone-3.img
-rw------- 1 root   root  26G Apr  4  2022 vdisk1-clone.img
-rwxrwxrwx 1 nobody users 26G Feb 22  2022 vdisk1.img*

  • Author

PS, thanks for taking the time to look at this.  Much appreciated.

Why is there a colon at the end of the folder name? 

  • Author

That's a good question, I didn't put it there.  It's not there in the UI.

I ended up deleting the Server_2016_TMPL using Virtual Machine Manager, however, I still see this in the log:

internal error: Failed to autostart storage pool 'Server2008R2_TMPL': cannot open directory '/mnt/user/domains/Server2008R2_TMPL': No such file or directory

 

That's the folder I deleted using Krusader.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.