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>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Installing a VM on a NFS
From: "Jeroen Torrekens" <jeroen.torrekens@xxxxxxxxxxx>
Date: Mon, 18 Feb 2008 16:47:35 +0100 (CET)
Delivery-date: Mon, 18 Feb 2008 07:48:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <757712.72446.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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchyRQFKYQ9c2252RRedqearEE/PPAAAFjqg

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ivan Gonzalez
Sent: maandag 18 februari 2008 16:43
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Installing a VM on a NFS

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

 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.

Hi there,

You should point the install path to /mnt/maquinasvirtuales instead of 10.9.33.210:/VMS

Cheers,

Jeroen

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>