|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] How to create an img.
On Sat, Dec 20, 2008 at 4:40 PM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
> Thanks! I have a question. I'm not sure what to use for "guest1" in this
> line: kpartx -av /dev/xen/guest1. In /dev/xen on my system, I have this list
> of devices:
>
> blktap0 blktap1 evtchn tapctrlread1 tapctrlwrite1
>
> How do I know which one my guest is using?
Those instruction assume that you are working with logical volumes.
The kpartx should be applied to the disk image file, whatever that
may be. That will then make the partitions available in /dev/mapper.
If you are working with LVs either as the disk or on the disk, then
the standard LVM commands apply.
Hope that helps.
I figured that's what was going on. When I try to use kpartx -av (or -lv for a dry run) against the files I'm using as disk images though, I get a simple "failed to stat() filename" message. The machines start just fine, though, and I can manually stat them. No
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|