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. ____________________________________________________________________________________ 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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
-----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ivan Gonzalez Sent: maandag 18 februari 2008 16:43 To: xen-users@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users
Great it works!! I appreciate your help and time. Regards. Ivan ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users