If you have your nfs share mounted to say /mnt/vpsdata you don't need
what you have, just use
disk = [ 'file:/mnt/vpsdata/example.img,hda,w' ]
thanks
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of lsm_7
Sent: 02 September 2011 10:01
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RE: Question about NFS domUs
Thanks for the reply.
Could you explain me how to start a HVM domU via NFS?? It would very
useful for me... My domU configuration file is:
#
# Kernel
#
kernel = '/usr/lib/xen-4.1/boot/hvmloader'
builder = 'hvm'
#
# Hostname
#
name = 'natty.i2cat.net'
#
# Memory
#
memory = '1024'
shadow_memory = 8
acpi = 1
apic = 1
#
# UUID
#
uuid = '0702dad0-644a-4263-9675-cec03359b677'
#
# CPUs
#
vcpus = 1
#
# Networking
#
device_model = '/usr/lib/xen-4.1/bin/qemu-dm'
vif = [ 'type=ioemu, mac=00:16:3E:FD:77:0A, bridge=eth1' ]
#
# Disk device(s).
#
#disk = [ 'phy:/dev/vservers/natty.i2cat.net-disk,ioemu:hda,w',
# 'phy:/dev/cdrom,hdc:cdrom,r'
# 'file:/images/ubuntu-11.04-desktop-i386.iso,hdc:cdrom,r'
# ]
root = '/dev/nfs'
nfs_server = 'chucknorris.i2cat.net'
nfs_root = '/mnt/virtuals/natty'
boot='dc'
sdl=0
#
# VNC Config
#
vfb = [ 'type=vnc,vncdisplay=96,vncpasswd=ubuntu' ]
serial='pty'
usbdevice='tablet'
localtime = 1
#
# Behaviour
#
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
Related to the second question, I'm migrating virtual machines when my
nodes of the virtualization cluster are collapsed. Most of the nodes are
diskless, so their disk is mounted via NFS connected to a central node.
This central node has a partition in LVM for everyone of the diskless
nodes. Then, all domUs are executed in these nodes must be started via
NFS. But these domUs can be migrated to the central node, so domUs can
be started without NFS but the config should be changed... so it is not
a great idea... Then, the idea is to start all the domUs via NFS
independently of the node where it's executed. I don't know if my
explanation is clear...
I hope somebody can help me!
Thanks
Luismi
--
View this message in context:
http://xen.1045712.n5.nabble.com/Question-about-NFS-domUs-tp4757870p4761
604.html
Sent from the Xen - User mailing list archive at Nabble.com.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|