[Samba] weird interaction with NFS quota-enabled mount

Jim DeLaHunt list+samba at jdlh.com
Sat May 24 18:59:36 UTC 2025


On 2025-05-24 07:06, Rowland Penny via samba wrote:

> On Thu, 22 May 2025 12:11:46 -0300
> Andreas Hasenack via samba<samba at lists.samba.org> wrote:
>
>> Hi,
>>
>> this is a somewhat unique setup (I think), where an NFS share is
>> mounted on a samba server, and re-exported by samba. The NFS server
>> has quotas enabled on the exported filesystem.
Speaking as an amateur sysadmin of a succession of 
small-office/home-office Network-Attached Storage (SOHO NAS) servers, a 
file system which is shared via multiple protocols (Samba, NFS, AFP) 
does not strike me as a unique setup at all. The FreeNAS,  QNAP, and 
NSLU2 servers I have operated facilitated this very structure.
> The big problem here, in my opinion, is that it is generally accepted
> that sharing an NFS mount with Samba is a very bad idea, all sorts of
> things go wrong.

I believe you that things can go wrong; I have experienced it[1][2]. 
However, the "generally accepted" knowledge certainly hasn't reached me, 
and I suspect not the amateur sysadmins operating SOHO NAS products. If 
it is generally accepted knowledge, there should be a discoverable place 
for it in the Samba documentation and/or wiki.

Independent of Hasenack's question, I have a desire to submit changes to 
the Samba documentation and/or wiki to talk about sharing backend data 
over multiple file-serving protocols, and about symbolic link support, 
etc. My current obstacle is that I can't figure out the right place for 
such information to go. My next step is to start a separate samba list 
thread about this.

Best regards, —Jim DeLaHunt

[1] "Are org.netatalk.Metadata xattrs ever valid on client-side macOS 
files?" <https://github.com/Netatalk/netatalk/discussions/2000> [2] 
"[Samba] Can a macOS (Posix) client see symlinks on FreeBSD server as 
symlinks on client?" 
<https://lists.samba.org/archive/samba/2025-January/250659.html>

-- 
.   --Jim DeLaHunt,jdlh at jdlh.com     http://blog.jdlh.com/ (http://jdlh.com/)
       multilingual websites consultant, Vancouver, B.C., Canada


More information about the samba mailing list