[12.1] VirtualBox with NFS shares

I am trying to setup a folder on the host to be accessible from the guest VM.

I have done the following:
Host:

  1. Installed the YaST2 NFS Server tool.
  2. Configured NFS Server with entry to selected folder /test.
  3. Started the NFS service.
  4. Started VBox and the VM to get vboxnet0 interface to appear.

Guest:

  1. VM Network settings enabled Adapter 2 as Host-Only.
  2. Configured eth1 to have static IP of 192.168.59.10
  3. Created a mount point folder.
  4. Tried mounting the host folder, yet no return to prompt without any message. Have to use Ctrl-C to terminate mount command.

Content of exports file:
/test 192.168.56.10(rw,sync)

What could I have left out in setting up NFS access from guest vm?

On Tue, 20 Dec 2011 19:56:03 +0000, ajpeck wrote:

> I am trying to setup a folder on the host to be accessible from the
> guest VM.
>
> I have done the following:
> Host:
>
> - Installed the YaST2 NFS Server tool. - Configured NFS Server with
> entry to selected folder /test. - Started the NFS service.
> - Started VBox and the VM to get vboxnet0 interface to appear.
>
>
> Guest:
>
> - VM Network settings enabled Adapter 2 as Host-Only. - Configured eth1
> to have static IP of 192.168.59.10 - Created a mount point folder.
> - Tried mounting the host folder, yet no return to prompt without any
> message. Have to use Ctrl-C to terminate mount command.
>
>
> Content of exports file:
> /test 192.168.56.10(rw,sync)
>
> What could I have left out in setting up NFS access from guest vm?

Have you tried disabling the port in the firewall?

If you have done that, is there some reason you’re not using shared
folders instead? That might be muh less painful. :slight_smile:

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

The portmapper (rpcbind) and the nfs client. rpcbind is not started by default.
BTW this is not a virtualization problem.

On 2011-12-20 20:56, ajpeck wrote:

> Host:
>
> - Installed the YaST2 NFS Server tool.

> Guest:

Use Yast NFS client module.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)