Results 1 to 4 of 4

Thread: [12.1] VirtualBox with NFS shares

  1. #1

    Default [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?

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,037

    Default Re: [12.1] VirtualBox with NFS shares

    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.

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

  3. #3

    Default Re: [12.1] VirtualBox with NFS shares

    Quote Originally Posted by ajpeck View Post

    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.


    What could I have left out in setting up NFS access from guest vm?
    The portmapper (rpcbind) and the nfs client. rpcbind is not started by default.
    BTW this is not a virtualization problem.

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: [12.1] VirtualBox with NFS shares

    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •