From owner-freebsd-stable@FreeBSD.ORG Wed Jan 21 10:28:00 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA23A75A for ; Wed, 21 Jan 2015 10:28:00 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5D751A45 for ; Wed, 21 Jan 2015 10:28:00 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id t0LARuQ3099244; Wed, 21 Jan 2015 11:27:56 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 51C923E2; Wed, 21 Jan 2015 11:27:56 +0100 (CET) Message-ID: <54BF7F2B.2070600@omnilan.de> Date: Wed, 21 Jan 2015 11:27:55 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: =?ISO-8859-1?Q?M=E4rk_Owen?= Subject: Re: NFS "mount system call failed" References: <20150120164409.49403c6e@MARC-THINKPAD.queenland> In-Reply-To: <20150120164409.49403c6e@MARC-THINKPAD.queenland> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4BF3F93106D0AD2C6CEE5DE4" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Wed, 21 Jan 2015 11:27:56 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 10:28:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4BF3F93106D0AD2C6CEE5DE4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Bez=FCglich M=E4rk Owen's Nachricht vom 20.01.2015 16:44 (localtime): > Hi everyone, > > I'm using FreeBSD 10.1 to share a ZFS pool (mounted at /media/storage) > through NFS to Linux clients (Debian 7). I don't seem to get any errors= > when the nfs services start on FreeBSD but I can't mount the shares on > the clients, all I get is: mount.nfs4: mount system call failed (Tried > as NFSv3 and NFSv4, same result). > > I'm really frustrated here since It worked barely an hour ago and I > have absolutely no idea why I getting this error now. > > Anyway, here are my /etc/rc.conf and /etc/exports files from the server= : > > /etc/rc.conf > ... > ## ZFS > zfs_enable=3D"YES" > ## NFSv4 Server > nfs_server_enable=3D"YES" > nfsv4_server_enable=3D"YES" > rpcbind_enable=3D"YES" > mountd_enable=3D"YES" > mountd_flags=3D"-r" > #rpc_lockd_enable=3D"YES" > #rpc_statd_enable=3D"YES" > > /etc/exports (I tried both as NFSv3 and NFSv4, here are the two options= ) > -NFSv3: > /media/storage/data -ro -alldirs -network 192.168.1.0 -mask > 255.255.255.0 > > -NFSv4: > V4:/media/storage -network 192.168.1.0 -mask 255.255.255.0 > /media/storage/data -ro -alldirs -network 192.168.1.0 -mask > 255.255.255.0 For the nfs4 case it seems 'nfsuserd_enable=3D"YES"' is missing in your rc.conf (and on the client?). If your clients don't share the same domain suffix in their fqdn, you'll also want to set 'nfsuserd_flags=3D"-domain your.upper.tld"' -Harry --------------enig4BF3F93106D0AD2C6CEE5DE4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlS/fysACgkQLDqVQ9VXb8ihqQCgnAi7GkOdxP6SLu3dJ2u3QObp nNQAn15JTHYownBzTMOjCYjvp/bIDheE =ZPVt -----END PGP SIGNATURE----- --------------enig4BF3F93106D0AD2C6CEE5DE4--