WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Questions on qcow, qcow2 versus LVM

To: matt@xxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Questions on qcow, qcow2 versus LVM
From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
Date: Mon, 21 Dec 2009 11:04:06 -0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Dec 2009 05:05:18 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=b8N72qDRfbFQZhaDj4qyPaB4IsjPNoXoFBk2sMeLvKA=; b=jWpvw40oPBMxuLmMI564PWe8zrQrZ843HSKONoNlH+AmaM1f1zcSqvHtVwBa6DR1+3 S6IOb2zldr5xG7uXea7OdSswAehE5QcAT5cnxaAtEGK4ENp0Kd/KtIgFbr1tGWTUGk5y 33WLbrWubh99Y6C1R1xsMmrEf+nVE4RoIjKYE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=S6iLwcyhIUUBJppy1qOYNi9DZWsrhB2MAoHPbob0/mXHnqpoZdQO8/cRS8T8+744tu 0yvhaS29fEae6mc/5ruIRG879uoWKp+lUkkVuwial8KfUgFnd+YwvhY3/04Ty8wO+NDJ RwL2e9XbEHgIHfCPGYVmTn4FiICRtKi1iB3J0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2ff3192ddfc512732cd0a6955fa51595.squirrel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <2ff3192ddfc512732cd0a6955fa51595.squirrel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You can "ummount/free" the "not mounted"/busy LVMs LVs with dmsetup!  ;-)
Anyway, I agree this is sucks!

Are you using kpartx to map the LVs partitioned partitions to your dom0? If yes, try to not partition (with fdisk) a LV volume... Just use the LVs within your domUs as it is...

Cheers!
Thiago

2009/12/21 Matthew Law <matt@xxxxxxxxxxxxxxxxxx>
I've been using lvm under centos to create the backing store for domUs and
although the performance seems acceptable it has some shortcomings.  The
biggest of which is the LVM bug which prevents me from removing an lv (it
says it is still mounted and it definitely isnt).  I thought this was just
a centos bug but it appears to be evident in debian and ubuntu too and I
really can't afford a reboot of the dom0 everytime I want to remove a
logical volume that was once accessed but now isn't!

What are people's experiences with using qcow or qcow2 images over LVM
volumes?  The reason I chose LVM was for it's ease of management and
relative ease with which you can shrink and enlarge a domU filesystem.
Can you do this with qcow?  How does it perform on a dom0 with many
running domUs (ie. dozens) ?


Thanks,

Matt.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users