WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Ivan Gonzalez <smaug_valley@xxxxxxxxx>
Subject: Re: [Xen-users] Installing a VM on a NFS
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Sat, 16 Feb 2008 11:50:02 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 15 Feb 2008 22:20:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <74822.49513.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <74822.49513.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070926)
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

<Prev in Thread] Current Thread [Next in Thread>