Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

virt-install cannot mount nfs directory

Andrea MJan 7 2008 — edited Jul 25 2011
Hi all,
I'm trying to use ovms but I cannot create any virtual machine.

I successfully installed OVMS; I disabled iptables to avoid network problems.
I created a dvd from Oracle Unbreakable EL 5.0 cds on a different machine.

The dvd image is shared by a linux CentOS box. The ISO image is inside /opt/tmp_os_isos/50 so I did

service nfs start
mkdir /mnt/dvd50
chmod a+rwx /mnt/dvd50
mount -o ro,loop /opt/tmp_os_isos/50/Enterprise-R5-GA-Server-i386-dvd.iso /mnt/dvd50/
exportfs *:/mnt/dvd50

and on the ovms server I did:

[root@ovms ~]# virt-install
What is the name of your virtual machine? giallo2
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (path)? /virtpcs/dischi/giallo
How large would you like the disk (/virtpcs/dischi/giallo2) to be (in gigabytes)? 30
Would you like to enable graphics support? (yes or no) no
What is the install location? nfs:10.10.10.242:/mnt/dvd50

And I always end up with the error
That directory could not be mounted from the server.

If I try to run
[root@ovms ~]# mount.nfs 10.10.10.242:/mnt/dvd50 /mnt/50
it works!

I also tried to build adifferent dvd iso, or to uso a OEL 4.4 dvd iso (taken from an original working oracle dvd) but I always end up with the same error

Where am I wrong?

thanks, andrea
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2011
Added on Jan 7 2008
7 comments
3,131 views