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-devel

[Xen-devel] RE: 3.0.3rc2 BUG: LVM backed qcow image not working?

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: 3.0.3rc2 BUG: LVM backed qcow image not working?
From: Timo Benk <timo.benk@xxxxxx>
Date: Thu, 12 Oct 2006 19:55:41 +0200
Delivery-date: Thu, 12 Oct 2006 10:56:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Openpgp: id=67E2E5E9; url=http://m28s01.vlinux.de/timo_benk_gpg_key.asc
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20060909)
Hi,

Sorry, small typo ...

i try to create a LVM backed qcow image, but it seems qcow does not
like LVM.

=== create qcow image LV ===
# lvcreate --name xendom_qcow --size 100G xenvol
# mkreiserfs /dev/xenvol/xendom_qcow
# mount /dev/xenvol/xendom_qcow /var/lib/xen/images

=== create base LV and fill with data ===
# lvcreate --name xendom_base_qcow --size 10G xenvol
# mkreiserfs /dev/xenvol/xendom_base_qcow
# mount /dev/xenvol/xendom_base_qcow /mnt
# tar cpjf domu-base.tar.bz2 -C /mnt

=== create file backed qcow image ===
# qcow-create 5120 /var/lib/xen/images/xengate_root.qcow
  /dev/xenvol/xendom_base_qcow
# xm block-attach Domain-0
     tap:qcow:/var/lib/xen/images/xengate_root.qcow xvda1 w 0
# mount /dev/xvda1 /mnt
[... mount is hanging forever ...]

# dmesg
[...]
ReiserFS: xvda1: checking transaction log (xvda1)
blk_tap: Can't get UE info

???

Greetings,
-timo

-- 
Timo Benk - Jabber ID: fry@xxxxxxxxxx - ICQ ID: #241877854
PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc



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

<Prev in Thread] Current Thread [Next in Thread>