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-bugs] [Bug 668] New: Exporting LVM device to domU

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 668] New: Exporting LVM device to domU
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 07 Jun 2006 08:07:12 -0700
Delivery-date: Wed, 07 Jun 2006 08:08:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: Exporting LVM device to domU
           Product: Xen
           Version: 3.0.2
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Guest-OS
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: maxim@xxxxxxxxxxxxxxxxxx

Hi there,

I'm using xen- on a Redhat AS 4 update 1 for i386.
When I create a new domU with the following conf file, everything is ok:
kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_rhel4.1"
ramdisk = "/boot/initrd-2.6.16-xen3_86.1_rhel4.1.img"
memory = 1024
name = "myvm"
vcpus = 8
vif = [ 'mac=00:16:3E:6C:54:FE, bridge=xenbr0' ]
disk = [ 'phy:vg02/lvol0,sda7,w' ]
disk = [ 'phy:sda6,sda6,w' ]
hostname= "myvm"
root = "/dev/sda6 rw"
extra = "4"

However, when I change the order of the two "disk" statements ([
'phy:sda6,sda6,w' ] first and [ 'phy:vg02/lvol0,sda7,rw' ] second), and try to
create the new vm (xm create -c myvmconf), I get the usual output with this
error at the end:
Loading ext3.ko module
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!

Any ideas why it's happening?

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 668] New: Exporting LVM device to domU, bugzilla-daemon <=