From owner-freebsd-stable@FreeBSD.ORG Tue Jan 4 16:32: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 B2977106564A for ; Tue, 4 Jan 2011 16:32:29 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5DF008FC18 for ; Tue, 4 Jan 2011 16:32:29 +0000 (UTC) Received: by qwj9 with SMTP id 9so14135966qwj.13 for ; Tue, 04 Jan 2011 08:32: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 :content-transfer-encoding; bh=FQulUjBO/lU3tWa9nCF/7eP/+KgIW99O9eZockt6U4Q=; b=FPVzxbdCxX/6oRPEmaIXB/FEhj2JekJC3q8aaMX64tHq0ceWVFqy+KUIEaSaCRYo83 U9diku+q2GCQXXJeIiM6N8HSRGnIAaGJPOPU6m8yeF4wYYiyZzg2mSN/LeTRFeJ7DI6G FB1JckMzSrtMn7evoNsVZM3Vk5T/f7HS7mx+c= 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:content-transfer-encoding; b=DHUWG8IrpewyLMqCItEMAhADendftk/egv6F39SRH+AM0Jbz9zzoh1sE4jD6ay0dFg Dsur9TabZ/HMlHqQmRRNyakre03nufi4jk7peWhrowOvbXqf4ULAKyg0/ro6cRQDtWxJ hFeX9nKYnoL4NPcKwKTt4wpd8n6tgNdo6/wyY= MIME-Version: 1.0 Received: by 10.229.227.129 with SMTP id ja1mr13647739qcb.107.1294158748462; Tue, 04 Jan 2011 08:32:28 -0800 (PST) Received: by 10.229.97.145 with HTTP; Tue, 4 Jan 2011 08:32:28 -0800 (PST) In-Reply-To: References: <201101040037.59785.milu@dat.pl> <1703110029.56794.1294098600382.JavaMail.root@erie.cs.uoguelph.ca> Date: Tue, 4 Jan 2011 08:32:28 -0800 Message-ID: From: Freddie Cash To: Jean-Yves Avenard Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Rick Macklem , freebsd-stable@freebsd.org, Marek Salwerowicz , 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 16:32:29 -0000 On Tue, Jan 4, 2011 at 3:42 AM, Jean-Yves Avenard wro= te: > On 4 January 2011 10:50, Rick Macklem wrote: > After reading this thread, I tried NFSv4 today.. > > Whenever I tried to mount from a linux client, I get: > =C2=A0mount -o vers=3D4 server4:/pool/backup/sites/m /mnt > NFS compound failed for server server4: error 7 (RPC: Authentication erro= r) > NFS compound failed for server server4: error 7 (RPC: Authentication erro= r) > NFS compound failed for server server4: error 7 (RPC: Authentication erro= r) > NFS compound failed for server server4: error 7 (RPC: Authentication erro= r) > NFS compound failed for server server4: error 7 (RPC: Authentication erro= r) > NFS compound failed for server server4: error 7 (RPC: Authentication erro= r) > nfs mount: mount: /mnt: Permission denied > > with NFS v3 it mounts just fine > > any ideas? NFSv4 mounts are relative to the filesystem being exported. NFSv3 mounts are absolute paths on the server. IOW, if you export /pool/backup/sites/m/ on the server, then the mount line on the client is just: mount -o vers=3D4 server4:/ /mnt If you export / on the server, then the mount line on the client would be: mount -o vers=3D4 server4:/pool/backup/sites/m/ /mnt This tripped me up when I tried converting my NFSv3 setup at home to NFSv4. --=20 Freddie Cash fjwcash@gmail.com