Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
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.


  Search this Thread
Old 11-10-2010, 02:28 AM   #1
LQ Newbie
Registered: Jul 2010
Posts: 9

Rep: Reputation: 0
start multiple vms from only one image using xen?

I tried to start multiple virtual machine instances from one image file using xen but failed. Anyone has experiences about this job?
Old 11-11-2010, 08:24 AM   #2
Registered: Jul 2004
Location: UK
Distribution: Gentoo
Posts: 52

Rep: Reputation: 17
How did this fail, what sort of error messages etc?

I haven't tried this myself firstly. However, I can't imagine this working, most operating systems will write various state data and lock various files when running, this could be quite dangerous to run two virtual machines from the same disk (image file). The virtual machines could want to write to the same file at the same time and this would cause issues. Already Xen prevents you from running virtual machines where the image is mounted in other domains or at least dom0.

If you have some sort of read-only image file such as a CD-ROM or linux distro which performs writes directly to RAM instead of the disk then this may be workable.

Best thing to do if you want to run multiple instances of the same VM is to just clone the image file using dd.
1 members found this post helpful.



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
Running Multiple VMs on a Limited RAM Hi_This_is_Dev Linux - Virtualization and Cloud 7 09-26-2010 08:39 AM
Xen and multipathing to SAN within VMs. larold Linux - Virtualization and Cloud 1 02-24-2010 03:32 PM
Using Xen VMs for Development & Testing of Supercomputer and HPC Cluster MPICH Apps Teo En Ming Linux - Virtualization and Cloud 0 10-30-2009 06:45 AM
LXer: How To Convert Physical Systems And Xen VMs Into OpenVZ Containers (Debian Etch LXer Syndicated Linux News 0 01-16-2009 01:00 PM
LXer: Using Xen With LVM-Based VMs Instead Of Image-Based VMs (Debian Etch) LXer Syndicated Linux News 0 01-14-2009 08:20 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:29 AM.

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