NFS does not start after creating a bridge

Discussions related to using VirtualBox on Linux hosts.
Post Reply
f.gruber
Posts: 24
Joined: 16. May 2007, 23:00
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows XP, Puppy Linux, Ubuntu, Suse, Elementary OS
Location: Bad Schallerbach

NFS does not start after creating a bridge

Post by f.gruber »

Suse 10.2 as host.
I successfully configured a bridge for to enable virtual networking.
This is the configuration file of the bridge:

Code: Select all

BOOTPROTO="dhcp"
NAME="Bridge_0"
NETMASK="255.255.255.0"
DHCLIENT_TIMEOUT=30
STARTMODE="auto"
USERCONTROL="no"
BRIDGE="yes"
BRIDGE_PORTS="eth0"
Now I have the problem that the nfs client does not work automatically after reboot.
I have to switch to a text terminal and enter

Code: Select all

rcnfs start
Then the NFS drives are mounted correctly and I am able to start KDE because the home directory is on a NFS share.
/var/log/boot.msg says:

Code: Select all

Starting RPC portmap daemon done
Importing Net File System (NFS)mount server reported tcp not available, falling back to udp
mount: RPC: Remote system error - Network is unreachable
mount server reported tcp not available, falling back to udp
mount: RPC: Remote system error - Network is unreachable
done
How can this be configured so that nfs works after reboot?
Freundliche Grüße
Ferdinand Gruber
starfry
Posts: 23
Joined: 31. Oct 2007, 11:59

Post by starfry »

Hello,

Just jumping on this post here as I have a similar issue.

I'm running Hardy and have successfully got a bridged network running and it works just fine. Except that nfs does not start unless I restart it after boot.

I believe the culprit is NetworkManager. I don't want to disable NetworkManager as I'd like to retain for Wireless use but I'd like to fix this break with nfs.

Has anyone else noticed this problem ?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

It could be the issue where the brigde waits for 32 seconds to become ready. You can change this time using the correct info in your network config. As I have Ubuntu as Host, I have listed a line with bridge_maxwait 0 in the bridge config.

As for the need to restart it, you could put the command in rc.local or whatever file is used at the end of the boot on RPM based distro's.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply