* LV mount
@ 2006-06-07 17:53 Joseph A. Perrin
2006-06-09 15:22 ` Stephen C. Tweedie
0 siblings, 1 reply; 2+ messages in thread
From: Joseph A. Perrin @ 2006-06-07 17:53 UTC (permalink / raw)
To: xen-devel
Greetings;
The concept of mounting a LV "file", as created by xenguest-install.py is very
appealing. I've seen that topic here and there, but no practical advice on
how to do it.
I'd like to create some standard system images, move them into position, tweak
some files therein, and then create a host. The tweaking step is the big problem.
For clarity my config files have an entry like this:
disk = [ 'file:/xenimages/g1.root,xvda,w', ...
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!) Then the Xen host machine can
set little things like hostname, additional volumes to mount, etc. to get it
on it's merry way!
Any direction would be helpful! :-)
-jap
--
Joseph A. Perrin President of Discovery Networks, Inc. Voice: 616.977.1700
jap@dnx.net http://dnx.net Fax: 616.977.1702
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: LV mount
2006-06-07 17:53 LV mount Joseph A. Perrin
@ 2006-06-09 15:22 ` Stephen C. Tweedie
0 siblings, 0 replies; 2+ messages in thread
From: Stephen C. Tweedie @ 2006-06-09 15:22 UTC (permalink / raw)
To: Joseph A. Perrin; +Cc: xen-devel@lists.xensource.com
Hi,
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
http://fedoraproject.org/wiki/FedoraXenQuickstartFC5
It's *very* useful for accessing partitions and LVM PVs/LVs from inside
Xen guest images.
--Stephen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-09 15:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 17:53 LV mount Joseph A. Perrin
2006-06-09 15:22 ` Stephen C. Tweedie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.