From owner-freebsd-questions@FreeBSD.ORG Sun Feb 25 14:55:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C58A916A402 for ; Sun, 25 Feb 2007 14:55:38 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3DA13C481 for ; Sun, 25 Feb 2007 14:55:33 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [10.0.0.178] ([10.0.0.178]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l1PEtfK3031438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Feb 2007 14:55:43 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45E1A360.8000103@unsane.co.uk> Date: Sun, 25 Feb 2007 14:55:28 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: Richard Krushelnitskiy References: <8f5844640702241621m47c49f3bt93d2439700270a05@mail.gmail.com> In-Reply-To: <8f5844640702241621m47c49f3bt93d2439700270a05@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Problems with mounting NFS share located on a Linux machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2007 14:55:38 -0000 Richard Krushelnitskiy wrote: > 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@elrond ~ # showmount -e galadriel > Exports list on galadriel: > /home elrond.rivendell.lan > ------------------ > root@elrond ~ 0# mount_nfs galadriel:/home /mnt/linux_home > root@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 :) Just a guess but depending on the permissions of the directories, you may need to turn off 'root_squash' or set it to a user with read permissions, the linux man page for exports covers the linux syntax for this. Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"