[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] LV mount


On Wed, 2006-06-07 at 13:53 -0400, Joseph A. Perrin wrote:

> Is is possible to mount a LV "file", (i.e. /xenimages/g1.root), much like one 
> would mount a file system using the loop option?  (and *No*, I don't want to 
> try to do this while my vMachine is running!)

Yes, it is; there is a little-known tool called "kpartx" which lets you
do it.  I wrote this up for the FC5 xen wiki page: see topic "Accessing
data on a guest disk image" at


It's *very* useful for accessing partitions and LVM PVs/LVs from inside
Xen guest images.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.