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.

guest VM autostart is not working

Featured Replies

Hello ,

 

 

I have enabled autostart and i could see the soft link also created (/var/libvirt/qemu/autostart/*.xml > link) . but when i reboot the host the vm is not getting started by default . every reboot i have to start manually . 

host : linux machine

hypervisor :kvm

 

could someone help ? Thanks in advance....

  • 8 months later...

Hi, 

 

I'm also experiencing a similar issue, I'm running 6.8.1 and setting, for the first time, a VM to autostart.

  • I also checked out the autostart directory (/var/libvirt/qemu/autostart/), found links in there (they looked valid) and removed them, reset the "autostart" option and found new links were created in the autostart folder. However the VM service still does not start the VMs.
  • I checked the libvirt log, and could only find the following error: "error : qemuMonitorIO:619 : internal error: End of file from qemu monitor". 
  • Using Krusader, I had a look at the link files in the autostart folder, the "Link to: " field lists the source path but also has " - (broken)" stated next to the link. The link is valid and is the correct path for the file, not sure if this is an issue or not.

Note: the VMs start manually without any issues. Other services are starting without any issues. The VMs are hosted on a disk mounted using Unassigned Devices,. I cannot see any errors in the main log. Attempting to trigger autostart by stopping the array and then starting it again. 

 

Anyway, any thoughts/recommendations would be welcome. TIA!

 

Hi,

 

I noticed that the VM is autostarting, but only after a full system reboot. If the array is stopped and started, the VM does not autostart. 

 

Is this how the autostart functionality is meant to work? 

 

Thanks,

On 1/19/2020 at 4:17 PM, User01 said:

Hi, 

 

I'm also experiencing a similar issue, I'm running 6.8.1 and setting, for the first time, a VM to autostart.

  • I also checked out the autostart directory (/var/libvirt/qemu/autostart/), found links in there (they looked valid) and removed them, reset the "autostart" option and found new links were created in the autostart folder. However the VM service still does not start the VMs.
  • I checked the libvirt log, and could only find the following error: "error : qemuMonitorIO:619 : internal error: End of file from qemu monitor". 
  • Using Krusader, I had a look at the link files in the autostart folder, the "Link to: " field lists the source path but also has " - (broken)" stated next to the link. The link is valid and is the correct path for the file, not sure if this is an issue or not.

Note: the VMs start manually without any issues. Other services are starting without any issues. The VMs are hosted on a disk mounted using Unassigned Devices,. I cannot see any errors in the main log. Attempting to trigger autostart by stopping the array and then starting it again. 

 

Anyway, any thoughts/recommendations would be welcome. TIA!

 

 

Exact same issue, i recently moved my Dockers/VMs to an unassigned SSD and they do not autostart

 

Help?

Since this is all related to UD mounted volumes, you guys are best posting within the UD support thread.  

  • 2 months later...

I have the same issue and did not find any other related thread be User1 or CrimsonTyphoon.

 

Did you solve the problem? How?

 

Rebooting after turning off the VM manger before turning it back an is not really a solution...

 

 

Edited by b0m541

Hi, I didn't follow it up. Just tried with 6.8.3 and still experiencing the same behavior. I just manually boot if I stop and start the array at the moment. 

Archived

This topic is now archived and is closed to further replies.

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.