Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 11-15-2010, 07:54 AM   #1
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian except for netbook still on Slackware 13.37 (and I have to support Ubuntu)
Posts: 8,572
Blog Entries: 30

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
VirtualBox: Slackware64 host and guest; NFS mount from host fails


This is similar to my LQ thread VirtualBox: how to NFS mount in Knoppix guest from Slackware host? but now the guest is Slackware64 13.1 like the host and it's not a one-off requirement that I can work around.

The host is an NFS server exporting /home/c/d to the LAN:
root@CW8:~# exportfs
This NFS export is routinely mounted by my netbook using mount -t nfs -o bg,rw,soft /mnt/CW8d

So it should (TM) be straightforward to mount it from the guest which is currently configuring its eth0 using DHCP from the LAN router's DHCP service (the same as the netbook), can ping the host, do name resolution and has no firewall:
root@vCW8:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 08:00:27:30:1f:8a  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::a00:27ff:fe30:1f8a/64 Scope:Link
          RX packets:3147 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2548 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3036808 (2.8 MiB)  TX bytes:248836 (243.0 KiB)
          Interrupt:19 Base address:0xd020
root@vCW8:~# ping -c1
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=64 time=0.311 ms
root@vCW8:~# dig
;; ANSWER SECTION:    1440    IN    A
root@vCW8:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destinatio
The host also has no firewall (same iptables -L output)

Running Wireshark on both host and guest shows NFS packets going from guest and being received on the host but nothing going the other way.

Running rpc.nfsd with -d and -s options and re-trying the mount from the guest produces nothing in the /var/log/* files and /var/log/nfsd/ is empty. Mounting from the netbook results in a line in /var/log/messages: mountd[24273]: authenticated mount request from for /home/c/d (/home/c/d).

On the basis of this evidence it seems the packets from the guest, intended to initiate the NFS mount, reach the host's NIC but do not reach the host's NFS daemons. I do not know where VirtualBox networking fits within the architecture -- whether Wireshark's showing the packets arriving at the host means they have already traversed VirtualBox networking or not.

How to analyse this problem further?

VirtualBox on the host is PUEL 3.2.8 r64453. There is an unresolved issue on the guest in which boot initialisation of VirtualBox Guest Additions results in
Starting the VirtualBox Guest Additions!
(modprobe vboxsf failed)

which is a low priority issue because I wasn't planning on using VirtualBox Shared Folders (but might need to as a workaround for the NFS problem!).




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox: how to NFS mount in Knoppix guest from Slackware host? catkin Linux - Virtualization and Cloud 2 11-14-2010 01:06 AM
Virtualbox CentOS Guest can not connect to Internet from XP Host sokha Linux - Virtualization and Cloud 2 03-31-2010 12:28 AM
Sun VirtualBox: Guest is Unable to Connect to Host By Hostname Cottonwoody Linux - Virtualization and Cloud 5 11-13-2009 12:31 PM
VirtualBox Raw Access, Windows Host, Linux Guest Guitarist88 Linux - Newbie 2 11-14-2008 05:41 PM
Ubuntu Host Virtualbox guest Networking weirdness ddales Linux - Networking 0 01-20-2008 03:24 PM

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration