[Samba] SMB protocol and cached data

Deas, Jim James.Deas at warnerbros.com
Wed Oct 27 14:13:29 UTC 2021


Thank you for the quick response. I'll research the age of the conflicting info to see if the old write cache was the reason for their warning.

Regards,
JD


-----Original Message-----
From: Ralph Boehme <slow at samba.org> 
Sent: Wednesday, October 27, 2021 6:54 AM
To: Deas, Jim <James.Deas at warnerbros.com>; samba at lists.samba.org
Subject: Re: [Samba] SMB protocol and cached data

 [CAUTION]This email originated outside Warner Bros.

On 10/27/21 15:36, Deas, Jim via samba wrote:
> I have been warned about sharing the same mount point via SMB and NFS 
> due to samba caching content and potentially corrupting data. What is 
> the real story on this? If samba is not flushing content due to some 
> sort of optimization, can that be switched off in the configuration?

by default smbd does not cache data. There once was an "write cache size" option but that was removed some time ago.

Cheers!
-slow

-- 
Ralph Boehme, Samba Team                 https://samba.org/
SerNet Samba Team Lead      https://sernet.de/en/team-samba


More information about the samba mailing list