Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2015 16:58:06 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Christian Baer <christian.baer@uni-dortmund.de>, freebsd-questions@freebsd.org
Subject:   Re: The magic of UFS, ZFS and NFS
Message-ID:  <54CEBD8E.70905@dreamchaser.org>
In-Reply-To: <2235245.9eUOZXG6jI@falbala>
References:  <2235245.9eUOZXG6jI@falbala>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54CEBD8E.70905>