[Samba] What happens to a Samba share if the shared disk goes offline?
Ralph Boehme
slow at samba.org
Tue May 30 19:31:01 UTC 2023
On 5/30/23 20:51, Guertin, David via samba wrote:
> I'm just trying to understand Samba's role in this, and how users
> could see files, and write new files, when they weren't actually on
> the underlying disk. Does Samba keep its data in memory even if the
> disk it's sharing goes down?
no, Samba doesn't cache created files or directories. Older versions had
a write cache that could optionally cache recent writes to a file, until
the file handle got closed by the client, but this cache has been
removed quite some time ago.
So I guess what happened is that all the stuff that got added by the
clients was lost due to the filesystem corruption on the server.
-slow
--
Ralph Boehme, Samba Team https://samba.org/
SerNet Samba Team Lead https://sernet.de/en/team-samba
SAMBA+ Samba packages https://samba.plus/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20230530/880068dc/OpenPGP_signature.sig>
More information about the samba
mailing list