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/
Home Products Support Community News


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

To: "Thiago Camargo Martins Cordeiro" <thiagocmartinsc@xxxxxxxxx>
Subject: Re: [Xen-users] Questions on qcow, qcow2 versus LVM
From: "Matthew Law" <matt@xxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Dec 2009 13:33:31 -0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Dec 2009 05:34:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <6b7f6eb0912210504v24c29fe3u5d66b822f782db6d@xxxxxxxxxxxxxx>
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> <6b7f6eb0912210504v24c29fe3u5d66b822f782db6d@xxxxxxxxxxxxxx>
Reply-to: matt@xxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.19
Yes, I've tried the dmsetup solution and that doesn't seem to work for me
and I couldn't get PVGrub to work unless I used kpartx.  Maybe my mistake
but that was what I ended up using to get everything working.

I see so many potential filesystem issues with Linux that I am seriously
considering moving over to opensolaris despite it not being considered
production ready yet.  ZFS brings a lot of features for a small RAM
overhead and some CPU usage, but given that it does what we currently do
with expensive RAID adapters, it might be worth it.

The other thing with OpenSolaris is they seem to be actively developing
xen/xvm at a time when most of the linux distros seem to be dropping it in
favour of kvm.  I don't want kvm.  I want Xen :-)



On Mon, December 21, 2009 1:04 pm, Thiago Camargo Martins Cordeiro wrote:
> 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

Matthew Law
Penguin Consulting Services Limited
E: matt@xxxxxxxxxxxxxxxxxx

This email is from Penguin Consulting Services Limited.  The contents of
this email and any attachments are confidential to the intended recipient.
 They may not be disclosed to, used by, or copied in any way by anyone
other than the intended recipient.  If this email is received in error,
inform the sender immediately and destroy this email.  Neither Penguin
Consulting Services nor the sender accepts any responsibility for viruses
and it is your responsibility to scan or otherwise check this email and
any attachments.

Xen-users mailing list