Skip to contentSkip to conversation

3.0.3rc2 BUG: LVM backed qcow image not working?

DISCUSSION Timo Benk 1 participant 1 message Oct 12, 2006

lore
Share & tools
lore

Timo Benk

author
#0 lore raw

Hi,

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

Signature · 2 lines
Timo Benk - Jabber ID: [email protected] - ICQ ID: #241877854
PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc