LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-28-2011, 01:22 PM   #1
shogun1234
Member
 
Registered: May 2004
Posts: 200

Rep: Reputation: 15
Mount virtualbox hardisk to ramdisk problem


I search online and read some post saying that seemingly a user can mount virtualbox disk to ramdisk so that i/o can be speed up. However, when trying to mount vdi to ramdisk, I encounter some problems.

I create a virtualbox server as normal steps.

Then I create a dir and mount it as ramdisk with following command
Code:
mount -t tmpfs -o size=1G /path/to/vbox/server
However, when starting the server it throws error
Code:
Runtime error opening '~/VirtualBox VMs/server/server.vbox' for reading: -102 (File not found.).
/build/buildd-virtualbox_4.1.4-dfsg-1-i386-f9UKjT/virtualbox-4.1.4-dfsg/src/VBox/Main/src-server/MachineImpl.cpp[685] (nsresult Machine::registeredInit()).
Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
VirtualBox
Interface: 
IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}
After googling I can not find threads discussing how to do that. Or similar error being solved. What keyword should I use? Or what is the correct step to mount vbox disk to ramdisk for speeding up i/o?

Thanks
 
Old 11-28-2011, 06:37 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,290

Rep: Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957
See this for some of the checks.

http://www.thegeekstuff.com/2008/11/...inux/#more-251
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External Hardisk mount nirmit Linux - Server 2 05-14-2008 10:06 AM
Iaudio X5 usb hardisk mount problem shl Linux - Hardware 3 01-04-2007 05:47 PM
Upper and lower case problem when mount hardisk UltraSoul Linux - Newbie 1 10-28-2005 09:50 AM
How to mount USB hardisk? cn_chopsticks Linux - Newbie 10 05-22-2005 05:03 PM
How to mount USB hardisk? cn_chopsticks Linux - Software 5 05-22-2005 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration