From owner-freebsd-fs@FreeBSD.ORG Fri Jun 17 02:19:25 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D178F106564A for ; Fri, 17 Jun 2011 02:19:25 +0000 (UTC) (envelope-from thejll@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 894808FC14 for ; Fri, 17 Jun 2011 02:19:25 +0000 (UTC) Received: by qyk30 with SMTP id 30so193111qyk.13 for ; Thu, 16 Jun 2011 19:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jlauser.net; s=google; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=1FbHiehdyoAjm+BHW+DBlsnFSo4t0zHTBRyJlu8PatQ=; b=iIkpKZY97jJ6cSspBDu+hZntyieHgy4NbXDi9T/d4OkFHYr/Pq3of1Foq1FMP/SJO/ w7B3NJdLifUshx57HTakjYC/RI4lZ7uuUFQrKkoXwuvx70neQkiaPLOTA/YMqNN/WgUZ P2ruBvt/MqBxFmGhg8H6k3UEGmGh5tBNhZvnQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=jlauser.net; s=google; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=YR7InTRg4/zK6HWKf0qAzZX4cQQA1IWEeKFlcOy8p6vP098L8yOqZQp0Kf83igqHD8 xl4sdEFa5tPuU5VFybruPQObSV09BYv5cZoFYTE2hfoU8qKMR+9U2RdQM7AXFoBQ75Lb CqLF6RrWQZb7aqvrRLlmj3Vlrs+xdb85XCFVQ= Received: by 10.224.191.10 with SMTP id dk10mr1109178qab.170.1308275326721; Thu, 16 Jun 2011 18:48:46 -0700 (PDT) Received: from [10.0.10.253] (cpe-74-76-129-142.nycap.res.rr.com [74.76.129.142]) by mx.google.com with ESMTPS id j18sm1555605qck.27.2011.06.16.18.48.45 (version=SSLv3 cipher=OTHER); Thu, 16 Jun 2011 18:48:45 -0700 (PDT) Message-ID: <4DFAB27B.7030402@jlauser.net> Date: Thu, 16 Jun 2011 21:48:43 -0400 From: "James L. Lauser" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Another zfs sharenfs issue X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2011 02:19:26 -0000 Adrian's email reminded me that I'm having a persistent issues with 'zfs sharenfs' as well, which I don't think is related. On my server, I have two datasets exported, pool/mythtv and pool/home/james: [Sledge:~] james$ zfs get sharenfs | grep local pool/home/james sharenfs -alldirs -mapall james quadraplex local pool/mythtv sharenfs -alldirs -mapall mythtv herman local Whenever I have to reboot sledge, I lose the ability to mount my home directory export from quadraplex. When I attempt the mount, I get a 'permission denied' error from the server. Running "sudo zfs set sharenfs='-alldirs -mapall james quadraplex' pool/home/james" (setting it to what it's already set to) fixes the problem, and it remains fixed until I reboot the machine again. This ONLY affects the share to quadraplex. The mythtv share to herman works without issue. The server is 8-STABLE (built a few days ago, right after ZFSv28 was MFC'd) on amd64. The machine is currently running ZFSv28, but this problem has existed since well before that upgrade. I am running the "experimental" NFS server, but not using NFSv4. Switching to the old server does not seem to affect anything. Both clients are Ubuntu 11.04 on x86_64. The only thought I had was the fact that I'm trying to export /home/james, but /home itself is not exported. Exporting it as well, however, did not fix the problem. Other useful info: [Sledge:~] james$ uname -a FreeBSD Sledge.home.jlauser.net 8.2-STABLE FreeBSD 8.2-STABLE #13: Wed Jun 8 00:08:53 EDT 2011 root@Sledge.home.jlauser.net:/usr/obj/usr/src/sys/GENERIC amd64 [Sledge:~] james$ grep nfs /etc/rc.conf nfs_server_enable="YES" nfsv4_server_enable="YES" [Quadraplex:~] james$ grep sledge /etc/fstab sledge:/home/james /mnt/sledge nfs rw,tcp,nfsvers=3,async 0 0 Any insight would be appreciated, though seeing as how I only normally reboot the server about 4 times per year, this isn't exactly a very high priority issue. -- -- James L. Lauser james@jlauser.net http://jlauser.net/