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

Re: [Xen-users] Where are the virtual disk images stored





Nick Katsipoulakis <popanik@xxxxxxxxx> schrieb:
Hello Everyone,

I am currently working on a project where I need to know the location of the Virtual Disk Images on my server.
My server runs on a Debian Squeeze (v.6) Linux Distribution and uses Xen v2.6.32. I have created a VM called VM4LiveFS and when I execute the cat command on its cfg file (located in /etc/xen) I get the following:

#
# Configuration file for the Xen instance VM4LiveFS, created
# by xen-tools 4.2 on Wed May 15 14:49:19 2013.
#

#
#Â Kernel + memory size
#
kernelÂÂÂÂÂ = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdiskÂÂÂÂ = '/boot/initrd.img-2.6.32-5-xen-amd64'

vcpusÂÂÂÂÂÂ = '1'
memoryÂÂÂÂÂ = '2048'

#
#Â Disk device(s).
#
rootÂÂÂÂÂÂÂ = '/dev/xvda2 ro'
diskÂÂÂÂÂÂÂ = [
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 'file:/vmstore//domains/VM4LiveFS/disk.img,xvda2,w',
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 'file:/vmstore//domains/VM4LiveFS/swap.img,xvda1,w',
ÂÂÂÂÂÂÂÂÂÂÂÂÂ ]


#
#Â Physical volumes
#


#
#Â Hostname
#
nameÂÂÂÂÂÂÂ = 'VM4LiveFS'

#
#Â Networking
#
vifÂÂÂÂÂÂÂÂ = [ 'ip=88.197.53.126,mac=00:16:3E:5E:E6:9E' ]

#
#Â Behaviour
#
/> on_rebootÂÂ = 'restart'
on_crashÂÂÂ = 'restart'

I need to know where are the disk images in my host's filesystem. Any hints to where they might be..?

Thank you



Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

Nick Katsipoulakis <popanik@xxxxxxxxx> schrieb:


>I need to know where are the disk images in my host's filesystem. Any
>hints
>to where they might be..?

You wrote it still here:

>disk = [
> 'file:/vmstore//domains/VM4LiveFS/disk.img,xvda2,w',
> 'file:/vmstore//domains/VM4LiveFS/swap.img,xvda1,w',
> ]

...means that the two virtual disks in your regarding DomU are file based, placed as files:

/vmstore//domains/VM4LiveFS/disk.img
...

(btw: the (double) slashes "//" should be changed into one "/".

If they are not there (even when the DomU is started) you might use the wrong config file here. When the DomU is running you may look after it too by:

xm block-list
or
xl block-list
and
losetup -a

(from mind, pls check the correct syntax by help if required)


hth,

best regards,


Niels.
--
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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