I have XEN 4.0.x.x and Cent os 5.5
There is an .image file of each VM stored on dom0 in /var/lib/xen/images directory. Is it a some block on the hard disk which I can mount this file from dom0 and access the file system of dom0.
What I really want to do is mount the filesystem of VM, and access /etc/sysconfig/network-scripts directory. Is there a way I can o it.
I tried directly using 'mount -o loop /var/lib/xen/images/VMname.img ', but it failed asking for the filesystem type. I didn't get any file system type using 'file' command for this image. Is this image an accessible file or some kind of binary or system file that XEN creates. If it is a binary file, I think we can't do much with it. But if it is in accessible format, we can do something with it. I want to know the way with which I can do eactly that.