VM services disabled after reboot


Recommended Posts

Unclean shutdown doesn't change any of your settings.

 

Unclean shutdown ultimately is caused by the array stopped/started status not being written to the flash drive. This can happen if the array doesn't stop before shutdown because something prevents it, or loss of power. It can also happen if the flash drive can't be written due to corruption or disconnect. Since the setting you made didn't seem to stick after reboot that suggests flash couldn't be written for some reason.

 

Are you booting from USB2 port (recommended)?

 

 

Link to comment
8 minutes ago, zavanilli said:

is it an expected behavior that after an unclean shutdown the VM engine will be disabled on reboot?

IIRC it's a known issue.

 

Shutdown from the GUI can be unclean if one of the timeouts is reached, first one for VMs then the general timeout, when there's one the diags will be saved in the flash drive, logs folder, those can show what the problem is.

Link to comment
5 minutes ago, JorgeB said:

IIRC it's a known issue.

 

Shutdown from the GUI can be unclean if one of the timeouts is reached, first one for VMs then the general timeout, when there's one the diags will be saved in the flash drive, logs folder, those can show what the problem is.

should I increase the timeour before shutdown in the VM settings?

Link to comment
9 minutes ago, trurl said:

Unclean shutdown doesn't change any of your settings.

 

Unclean shutdown ultimately is caused by the array stopped/started status not being written to the flash drive. This can happen if the array doesn't stop before shutdown because something prevents it, or loss of power. It can also happen if the flash drive can't be written due to corruption or disconnect. Since the setting you made didn't seem to stick after reboot that suggests flash couldn't be written for some reason.

 

Are you booting from USB2 port (recommended)?

 

 

Yes USB 2.0 port

how do I figure out if the flash couldnt be written?

Link to comment
2 minutes ago, zavanilli said:

Yes USB 2.0 port

how do I figure out if the flash couldnt be written?

ErrorWarningSystemArray


Dec 3 10:20:56 Tower kernel: sd 0:0:0:0: [sda] 62656641 512-byte logical blocks: (32.1 GB/29.9 GiB)
Dec 3 10:20:56 Tower kernel: sd 0:0:0:0: [sda] Write Protect is off
Dec 3 10:20:56 Tower kernel: sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
Dec 3 10:20:56 Tower kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Dec 3 10:20:56 Tower kernel: sda: sda1
Dec 3 10:20:56 Tower kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Dec 3 10:20:56 Tower kernel: FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Dec 3 10:22:22 Tower emhttpd: Samsung_Flash_Drive_FIT_0375420070005119-0:0 (sda) 512 62656641
Dec 3 10:22:22 Tower emhttpd: import flash device: sda
Dec 3 10:22:22 Tower emhttpd: read SMART /dev/sda

DONE

Link to comment
1 minute ago, zavanilli said:

Dec 3 10:20:56 Tower kernel: FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

That could just be a symptom of unclean shutdown and not necessarily the cause.

 

Sometimes Unraid itself will run fsck on flash when it boots but you can also put it in your PC and let it checkdisk. And make a backup if you don't have one. You should always have a current backup of flash.

 

Link to comment

In case someone will have a similar issue

this turned out to be a BAD USB flash

I noticed after every reboot that non of the settings I changed are stored to the USB.

I shutdown the server

I then ran CHKDSK in windows on the USB, of course found errors that could not be fixed.

As the group here suggested, I already had a backup zip downloaded.

Brand new USB, the LimeTech tool and created anew Flash USB

plugged it in, boot

then you will find array stopped, you have to sign in to the UNRAID.net 

then replace KEY

they will either email it or install automatically depending on which license you have

then DONE
thank you all for your help

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.