Page 1 of 1

abnormal shutdown effect on guest image

Posted: 27. Jul 2008, 23:13
by cozmos9
What happens if a jr admin shuts down a linux host without terminating the guest sessions? Does the shutdown script do an orderly guest shutdown before allowing the host shutdown script to continue?

I searched the forum for this thinking this would be have been asked, but didn't find anything. Anyone's input with knowledge on this matter is appreciated.

Thanks,
Jean

Posted: 28. Jul 2008, 00:17
by TerryE
It's like pulling the plug on a real machine. Normally your VMs will recover their file systems, but in this case stick to NTFS or Ext3. Keep away from FAT and XJS.

However, these is nothing to stop you putting a script in your local shutdown (as long as you have local sudo privilege) to force each VM to do a controlvm savestate. That way everything will be shutdown or saved cleanly.

Posted: 28. Jul 2008, 01:17
by cozmos9
Thanks for the reply. I was hoping pre-made scripts were available. I can see a real sophisticated script being possible. Beyond my meager scripting ability. Hope someone reads this post & writes one. ;-)