From owner-freebsd-stable@FreeBSD.ORG Tue Jan 20 15:44:14 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61FFB3D8 for ; Tue, 20 Jan 2015 15:44:14 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E874E73 for ; Tue, 20 Jan 2015 15:44:13 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id fb4so18571507wid.2 for ; Tue, 20 Jan 2015 07:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=3oROVd0vkFgx2oCMqEhf4ZMwlb3VY0hBmvcCf3Oig+Y=; b=uokwD3F/EX+ktK4y5Mrmeeh3VysFOfX9abpmheb/Vh1JZGb1GYDIB/P4yeT6JSI4ZA 6VaBCCla7aVt1MNwJCLoWS4/p5tJ/2Hus9Ru1QvmH8YEXfVKys7TymBMmlkwKYVbJgX9 wd2APqxpX3O00wduzG3jiBYK0pc64Ds5m7rntPI7OoL4ylGeEce5SB0yv9RPnjzdVzxF 7xz9hMdeCCTulVzzMvg+0TBbxrfVL1KFQZXjBPkH42T/WVDT4QIxZoZcwTGZSjjAkcjP 6DlZCX2YC7C8uGhHPCCx8/BzosgaXHGroYvwHOCsMYvsHsXhPVOwCYe69yRbO0eoqscG B69A== X-Received: by 10.180.216.36 with SMTP id on4mr46862503wic.27.1421768651969; Tue, 20 Jan 2015 07:44:11 -0800 (PST) Received: from MARC-THINKPAD.queenland (AOrleans-656-1-23-170.w90-20.abo.wanadoo.fr. [90.20.238.170]) by mx.google.com with ESMTPSA id s9sm3506293wiz.12.2015.01.20.07.44.10 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 20 Jan 2015 07:44:11 -0800 (PST) Date: Tue, 20 Jan 2015 16:44:09 +0100 From: =?UTF-8?B?TcOkcms=?= Owen To: freebsd-stable@freebsd.org Subject: NFS "mount system call failed" Message-ID: <20150120164409.49403c6e@MARC-THINKPAD.queenland> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 20 Jan 2015 15:44:14 -0000 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="YES" ## NFSv4 Server nfs_server_enable="YES" nfsv4_server_enable="YES" rpcbind_enable="YES" mountd_enable="YES" mountd_flags="-r" #rpc_lockd_enable="YES" #rpc_statd_enable="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 On the clients I use the following commands to try to mount the share: - NFSv3: mount -t nfs -o nolock server-ip:/media/storage/data /mnt/tmp - NFSv4: mount -t nfs4 server-ip:/data /mnt/tmp Thank you for reading and I hope that someone will be able to help me.