Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th June 2009, 03:04
Balbuzard Balbuzard is offline
Junior Member
 
Join Date: Mar 2009
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default [Xen] Differences between Image-Based VM and lvM-Based VM

Hey,
I am new to Xen, and I don't see the differences between Image-Based VM and LVM-Based VM.
I have read the tutoriel of falko; Image-Based VM are said to be more heavy and slow in the disk, but is there any other differences? In there any link with para-full virtualisation provided by Xen?
Sorry for my so basic question! But I have nothing found about this yet.
Thanks a lot for your answers and help!
Reply With Quote
Sponsored Links
  #2  
Old 19th June 2009, 16:16
Flash Flash is offline
Member
 
Join Date: Oct 2008
Posts: 33
Thanks: 2
Thanked 4 Times in 3 Posts
Default

In case of Image based, Xen takes care of reading and writing the files to the disk (in the image file) which in turn is written to the actual disk by the kernel, in case of LVM, Xen doesnt worry about it and lets the kernel handle it. the second one is a lot faster.

The reason to pick image based over LVM based is the image based are much easyer to handle, you have all files in 1 directory and you can delete them if you want very easy. LVM takes a bit more knowledge to work with.
Reply With Quote
  #3  
Old 20th June 2009, 07:34
Balbuzard Balbuzard is offline
Junior Member
 
Join Date: Mar 2009
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Oki, Thanks for your answer. Is there any link between full and para virtualisation and LVM / Image - Based VM?
I have read that Xen can provide the both kind of virtualisation, but I have not read anything yet to explain how to do it.
Moreover, I have to install in a VM a graphic application, and I would like to provide it with direct access to the graphic card (I am afraid that VNC is not enough); Is it easier with LVM-Based VM or should I do it with Image-Based VM?
Thanks a lot for your help! (And sorry for my bad English :-S)
Reply With Quote
  #4  
Old 20th June 2009, 12:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Balbuzard View Post
Oki, Thanks for your answer. Is there any link between full and para virtualisation and LVM / Image - Based VM?
Full-/paravirtualization do have nothing to do with image-/LVM-based guests. You can use images or LVM for both full and paravirtualization.


Quote:
Originally Posted by Balbuzard View Post
I have read that Xen can provide the both kind of virtualisation, but I have not read anything yet to explain how to do it.
Most Xen guides here are for paravirtualization. Here's one for full virtualization: http://www.howtoforge.com/how-to-run...n-lenny-x86_64


Quote:
Originally Posted by Balbuzard View Post
Is it easier with LVM-Based VM or should I do it with Image-Based VM?
Doesn't matter. If you use images or LVM does have nothing to do with the capabilities of the guest.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 20th June 2009, 18:03
Balbuzard Balbuzard is offline
Junior Member
 
Join Date: Mar 2009
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Oki, Thank you very much for your answer!
I will come back to you if any I have some other problems with Xen ;-)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT +2. The time now is 16:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.