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


[Xen-devel] can not lvcreate after lvm snapshot and "xm mem-set" and lvr

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] can not lvcreate after lvm snapshot and "xm mem-set" and lvremove
From: Wensheng Wang <wenshengwang@xxxxxxxxx>
Date: Thu, 5 Jan 2006 03:27:28 -0600
Delivery-date: Thu, 05 Jan 2006 09:32:50 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=A1XXgOjWR9YXAhvNO32QjmxW+KXMO5V/M4Q+NLAH9w/yChKbsi50BXY7ZaAwMDFa7ZyvzBpRHJWGSTLFz8Y3qD5O5pzzTsnJebQCYjAK2bi9S3mYSuBS8X0JRy4uWgUOuSdKAyOMZ/glKQ4DoHtVyPT/7rKX4OigpcEAqol/SpU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I am not sure if it's a xen bug or lvm bug, or just my bad hardware,
but here's how to reproduce:

/dev/vg0/centos1 is lvm block used by a domainU, it's 8G in size.

#lvcreate -L8192M -s -n snap1 vg0
#mount /dev/vg0/snap1 /mnt
do some copying files here
#umount /mnt
#lvremove /dev/vg0/snap1
not removed! it says can't allocated memory

#xm mem-set 0 512
#lvremove /dev/vg0/snap1
now it removed successfully

#lvcreate -L4096M -n fedora1 vg0
System lockup at this point.   I have to login from another terminal. 
I couldn't kill the lvcreate process, couln't do anything lvm.  I have
to reboot the machine.

My vg0 is on /dev/md1, which is a software raid 1.
My dom0 os is fedora core 4.  Xen version is 3.0-testing

So what causes this?  What's my work around I can use to do lvm snapshot.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] can not lvcreate after lvm snapshot and "xm mem-set" and lvremove, Wensheng Wang <=