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

[Xen-users] Mounting LVM sub-partitions

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Mounting LVM sub-partitions
From: Kevin DeGraaf <kevin@xxxxxxxxxxxx>
Date: Fri, 10 Aug 2007 15:51:48 -0400
Delivery-date: Fri, 10 Aug 2007 12:52:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (X11/20070326)
I have a number of normal (paravirtualized) domU guests with LVM-backed
filesystems.  Each of these filesystems has an entry in (e.g.) /dev/vg0,
and can be mounted without issues.

However, I'm having trouble mounting the LVM-backed filesystems of the
HVM domU guests, because the LVM logical volumes in question don't hold
filesystems directly, but rather act as virtual disks with their own
partition tables, MBRs and (virtual) partitions.

The fdisk, cfdisk, and sfdisk programs all grok this scheme and, when
invoked on (e.g.) /dev/vg0/lv0, cheerfully report partitions of lv0p1,
lv0p2, etc.

However, there are no device node entries (either in /dev/vg0 or
/dev/mapper) for these sub-partitions, and thus mount(8) is unable to
use them.

I'm sure that I'm missing something simple, but my Googling hasn't
turned up anything.  Thanks in advance.

-- 
Kevin DeGraaf

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

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