abnormal shutdown effect on guest image

Discussions related to using VirtualBox on Linux hosts.
Post Reply
cozmos9
Posts: 2
Joined: 27. Jul 2008, 23:04

abnormal shutdown effect on guest image

Post 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
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
cozmos9
Posts: 2
Joined: 27. Jul 2008, 23:04

Post 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. ;-)
Post Reply