VirtualBox 4 Issue on CentOS 6 with Virtualmin Restores regarding Host i/o cache

1 post / 0 new
#1 Wed, 11/16/2011 - 21:39
comtoistech

VirtualBox 4 Issue on CentOS 6 with Virtualmin Restores regarding Host i/o cache

I just wanted to post about this topic in case any other newbies run into it, because its super frustrating.

I was attempting to restore my backup from my "Real" computer onto a VirtualBox Virtual Computer as a backup and for testing, because there are certain advantages over a "Real box" such as such as taking snapshots allowing you to step back to before you messed up, or even cloning your Virtual Computer as another backup, and trust me it happens alot. You can never have enough safety measures in place. It will save you a ton of time and headache later. Take many snapshots, after everything you do!

Anyway, eventually after all the tweaks I had to fix before my restore would complete successfully, I finally got my Real Backup restored to my Virtual Computer. I thought everything was fine. Turned off the VM. However, the next time I booted it up, I got this "Failed" volume message at post. It said to run FSCK as root after entering the root password, or reboot using Ctrl-D. So the first time I ran fsck, and said yes to fixing everything, it then booted up fine, however my Apache Server was toast. I could not load Httpd, no matter what I did..This error continued to come up randomly any time the system was rebooted even before the restore, but always after the restore. So, I restored the last snapshot, tried again...This time I found another link related to the issue on the Virtualbox forum....it said the problem was with the Sata Host setting in Virtualbox, specifically the Host i/o cache. It is turned off by default and needs to be turned on.

After I did this, rebooted VM again, same "failure" error, ran fsck again, yes to fix each item. Then this time it booted up fine. I checked everything seems to be working fine.

Hopefully, this will help some of you avoid the same headache.