From owner-freebsd-stable@FreeBSD.ORG Tue Jan 4 11:42:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 700441065673 for ; Tue, 4 Jan 2011 11:42:29 +0000 (UTC) (envelope-from jyavenard@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6C48FC18 for ; Tue, 4 Jan 2011 11:42:28 +0000 (UTC) Received: by iwn39 with SMTP id 39so14489658iwn.13 for ; Tue, 04 Jan 2011 03:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=AABalFHYUnSeId+faYnuFoIvO4bAbMPAxkLhVmB2q6Q=; b=vQPOLyy27ziBSHvVKeeKuQaFID52Ui67IjP6gz4QibQZdLCLK5qzSBww7eLvlp8xzs BNsvSrq1N8r2wjTLR2jGltfFBoE72r3J48GECVnhyxC6wnnBr7uSklc8CFIGWGKG77Rl GLD+twisqnBZAzsT9obWvQwhy3R9I1fwe48wY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=T62Hs6uXfIaGAZHR9CIrrNOQjhTLYCtmHHzxFcK7/g37oKfbIGOeS7p9DvSYGwXbc3 +MfUH5t1Z1dh4AMqgO569bC4SPP9w2dz/CJNz68tP4jhNSNFOyrAvukluknkGHlZB7bi 2PUlAMtYtnZzpFERwGlmWBUyV/vtNYI0AR9GY= MIME-Version: 1.0 Received: by 10.42.177.196 with SMTP id bj4mr22049911icb.129.1294141348363; Tue, 04 Jan 2011 03:42:28 -0800 (PST) Received: by 10.42.172.69 with HTTP; Tue, 4 Jan 2011 03:42:28 -0800 (PST) In-Reply-To: <1703110029.56794.1294098600382.JavaMail.root@erie.cs.uoguelph.ca> References: <201101040037.59785.milu@dat.pl> <1703110029.56794.1294098600382.JavaMail.root@erie.cs.uoguelph.ca> Date: Tue, 4 Jan 2011 22:42:28 +1100 Message-ID: From: Jean-Yves Avenard To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 Cc: Marek Salwerowicz , freebsd-stable@freebsd.org, Maciej Milewski Subject: Re: NFSv4 - how to set up at FreeBSD 8.1 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Jan 2011 11:42:29 -0000 Hi On 4 January 2011 10:50, Rick Macklem wrote: > If the above 2 lines are in your /etc/exports file and "/" is a ufs > file system, then the above should work. For a zfs "/" you must either: > - export / as well as /data > or > - use "v4: /data" so that the nfsv4 root is at /data > > Also, make sure you are running the experimental server: > - either start both mountd and nfsd with the "-e" option or specify > nfsv4_server_enable="YES" > nfs_server_enable="YES" > > in your /etc/rc.conf. > > Also, you need to create an empty /var/db/nfs-stablerestart file before > the experimental NFS server will start up the first time. (A fix for that > is in the works, but isn't even in head yet.) > > Try looking at "man nfsv4" and checking that the daemons are running and > that nothing got logged in /var/log/messages when they started up. > > Good luck with it, rick After reading this thread, I tried NFSv4 today.. Whenever I tried to mount from a linux client, I get: mount -o vers=4 server4:/pool/backup/sites/m /mnt NFS compound failed for server server4: error 7 (RPC: Authentication error) NFS compound failed for server server4: error 7 (RPC: Authentication error) NFS compound failed for server server4: error 7 (RPC: Authentication error) NFS compound failed for server server4: error 7 (RPC: Authentication error) NFS compound failed for server server4: error 7 (RPC: Authentication error) NFS compound failed for server server4: error 7 (RPC: Authentication error) nfs mount: mount: /mnt: Permission denied with NFS v3 it mounts just fine any ideas?