notproperlycut
unread,Sep 29, 2011, 4:49:38 PM9/29/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vagrant
Accept my apologies if this is widely know already - I did a little
searching beforehand.
I've been having a lot of trouble using vagrant since upgrading to
Lion. Symptoms have included: Stuttering and temporarily unresponsive
Lion, spinning pinwheel, complete lock-ups of Lion requiring reboot,
that grey Apple screen telling me I have to hit the power button,
Ubuntu guests failing due to "read-only filesystem" and absolutely no
hope of running two boxes at the same time for any useful duration.
Issues have been happening several times a day, every day.
Core 2 Due MBA + Core 2 Duo MBP
Lion 10.7.1
Ruby 1.9.2p290, vagrant 0.8.7
virtualbox 4.1.2
Veewee-built box(es) derived from the 'ubuntu-10.10-server-i386'
template
The fix for me? Enabling virtualbox's "Host i/o caching" option on
the .vmdk used by my boxes. Today I have had no problems at all and my
vagrant workflow is completely back to normal. Subjectively - it's
hard to be sure - it seems that I've traded a little performance for
this restored stability.
If you halt your box first, the Virtualbox GUI will let you enable the
setting:
VB GUI -> Your VM -> Settings -> Storage -> Your disk -> tick "Use
host I/O cache"
As a more permanent fix I have updated my veewee definition(s) to
enable the option:
:hostiocache => 'on' in the relevant definition.rb file
Perhaps this will help someone else who's having similar trouble.