Problems with mounting NFS share located on a Linux machine

Richard Krushelnitskiy r.krushelnitskiy at gmail.com
Sun Feb 25 00:49:25 UTC 2007


Hi,

I have a Linux machine which acts as a NFS server and I'm trying to
mount the share on FreeBSD. While the mount command succeeds and I see
no errors and Linux doesn't show anything unusual in the logs, when I
try to list the files in the mounted directory, none show up. Doing
'df' on both machines reports the same size/usage/free numbers for the
partition. I'm lost as to how to further analyze the problem.

Contents of /etc/exports on the Linux system (galadriel):
------------------
# /etc/exports: NFS file systems being exported.  See exports(5).

/home 192.168.1.100(rw,sync)
------------------

[*] 192.168.1.100 refers to the FreeBSD machine (elrond).

------------------
root at elrond ~ # showmount -e galadriel
Exports list on galadriel:
/home                              elrond.rivendell.lan
------------------
root at elrond ~ 0# mount_nfs galadriel:/home /mnt/linux_home
root at elrond ~ 0# df
Filesystem      1K-blocks     Used   Avail Capacity  Mounted on
[other FreeBSD mounts]
galadriel:/home  10321208   131276 9665644     1%    /mnt/linux_home
------------------
galadriel ~ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
[other Linux mounts]
/dev/hda8             10321208    131276   9665644   2% /home
------------------
galadriel ~ # tail /var/log/messages
Feb 24 19:13:33 galadriel rpc.mountd: export request from 192.168.1.100
Feb 24 19:14:30 galadriel rpc.mountd: authenticated mount request from
elrond.rivendell.lan:670 for /home (/home)
------------------

Hope these outputs help :)


More information about the freebsd-questions mailing list