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

Re: [Xen-users] Installing a VM on a NFS



Ivan Gonzalez wrote:
Hello everyone.

I'm new on xen and i wanted to install a vm on a NFS
but i don't have any idea of how to do that, could
anyone tell me about a how to or something to help me
here.

I was trying to do it via virt-install:
[root@localhost ~]# virt-install What is the name of your virtual machine? prueba01
 How much RAM should be allocated (in megabytes)? 512
 What would you like to use as the disk (path)?
10.9.33.210:/VMS

You have to specify the mount point as the disk path. /mnt/maquinasvirtuales/prueba01

--Sadique

 How large would you like the disk (10.9.33.210:/VMS)
to be (in gigabytes)? 5
 Would you like to enable graphics support? (yes or
no) yes
 What is the install location?
/root/build/c5-custom.iso
Starting install...
Creating storage file...  100%
|=========================| 5.0 GB 00:00 Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 633, in ?
    main()
  File "/usr/sbin/virt-install", line 578, in main
    dom = guest.start_install(conscb,progresscb)
  File
"/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 649, in start_install
    return self._do_install(consolecb, meter)
  File
"/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 662, in _do_install
    self._create_devices(meter)
  File
"/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 557, in _create_devices
    disk.setup(progresscb)
  File
"/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 104, in setup
    fd = os.open(self.path, os.O_WRONLY | os.O_CREAT)
OSError: [Errno 2] No such file or directory:
'/root/10.9.33.210:/VMS'

my fstab looks like this:

LABEL=/ / ext3 defaults 1 1 tmpfs /dev/shm tmpfs defaults 0 0
devpts                  /dev/pts                devpts
 gid=5,mode=620  0 0
sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 LABEL=SWAP-sda2 swap swap defaults 0 0 #/dev/sda3 /Virtual ext3 defaults 1 2 10.9.33.210:/VMS /mnt/maquinasvirtuales nfs defaults 0 0

I appreciate your help.
Thanks
Ivan.


      
____________________________________________________________________________________
Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

_______________________________________________
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


 


Rackspace

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