|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] can you mount the partitions inside a qcow image file?
> currently all my domUs have two image files that i assign in the config
> file as sda1 and sda2. sda1 is the root filesystem and sda2 is the swap
> partition.
>
> i am contemplating setting up one qcow image file, assign it as sda
> and creating two partitions inside it for sda1 and sda2.
>
> i was wondering if it would be possible to mount the sda1 inside the qcow
> image from the dom0?
You could possibly "xm block-attach" the qcow device to dom0 as, say, xvda and
then mount it. That might have some kind of potential deadlock conditions
which could lock up dom0; although I imagine you might get away with it if
you just want to have a quick poke in the image. Perhaps mounting it
read-only would avoid this problem.
There's also dm-userspace: http://wiki.xensource.com/xenwiki/DmUserspace
This is capable of mapping qcow images as normal Linux devicemapper volumes.
I don't know how stable it is but it's a more Linux-specific solution to the
problem. Maybe it's worth a try.
Cheers,
Mark
--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|