From owner-freebsd-questions@FreeBSD.ORG Sun Feb 1 23:58:16 2015 Return-Path: Delivered-To: freebsd-questions@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 997CB461 for ; Sun, 1 Feb 2015 23:58:16 +0000 (UTC) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (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 5E0EA848 for ; Sun, 1 Feb 2015 23:58:15 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [192.168.151.122]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id t11Nw6An008270; Sun, 1 Feb 2015 16:58:07 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <54CEBD8E.70905@dreamchaser.org> Date: Sun, 01 Feb 2015 16:58:06 -0700 From: Gary Aitken Reply-To: freebsd@dreamchaser.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Christian Baer , freebsd-questions@freebsd.org Subject: Re: The magic of UFS, ZFS and NFS References: <2235245.9eUOZXG6jI@falbala> In-Reply-To: <2235245.9eUOZXG6jI@falbala> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 01 Feb 2015 16:58:07 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2015 23:58:16 -0000 Hi Chris, > I am trying hard as hell to get a share on my file server (obelix) to my > workstation. I have not had any real luck yet. > > The situation: > > I have a directory /usr/archive/ under which my files are to be stored. The > directory itselt is mounted under /. There are two ZFS mountpoints under this: > > /usr/archive/work > /usr/archive/private > > I exported it as so: > > V4: /usr/archive/ -alldirs -network 192.168.100/24 > > The mount works fine and I can see all files under /usr/archive/ including the > two directories. I can access all files. Both directories are empty though. > > Well, those two directories are seperate filesystems, so they require their own > mountpoint. So I gave them one: Same line as above just with > /usr/archive/private. > > Now when I try to mount the share, I get this: > [tcp] obelix:/usr/archive/private: Permission denied > > /var/log/messages on obelix says this: > obelix mountd[50070]: mount request denied from 192.168.100.8 for > /usr/archive/private > > This seems to be some quirk concerning the access permissions. I just can't > figure out what. Can someone give me a push in the right direction, please? I don't know anything about the file systems themselves, but I had to put the following in rc.conf to allow mounting USB devices by a non-priviledged user: devfs_system_ruleset="localrules" I have no idea whether the same applies to the mounts you're talking about or not, but might be worth a try. Gary