[Samba] Macs deleting files off RHEL8 server

itdept_head itdept_head at grown-up.com
Wed May 21 01:27:31 UTC 2025


You can check how a mac is set by looking at the disk formatting
For remote drives “SMB” there is a flag  that is set
Are these actual files or are they temp files?

One thing you will see….
Is if you use a remote drive as a “work” drive, osx & certainly windows can generate hundreds of temp files
Which you cannot normally see.
By work,
That means if you are in word & you open a file on a shared remote drive, all the temp files are generated on the remote
Burying its performance, because you see stupidity of  < 500 bytes of action on the  data packets, sometimes less that 80 bytes
Which is a pain since tcp/ip packet size is between 20-120 bytes of control data, you end up sending more header data than actual data.

So are these “real” files.
Next up…
If your file system is THAT unstable , you need to address it…
The system should not “hang up” , unless you were trying to delete files locked by other processes.

Be aware that a “hang” is not always an indication of a “bad” thing., and you should give it a few minutes.



From: I T <it at embassygraphics.com>
Date: Wednesday, 21 May 2025 at 1:04 AM
To: itdept_head <itdept_head at grown-up.com>
Cc: "samba at lists.samba.org" <samba at lists.samba.org>
Subject: Re: [Samba] Macs deleting files off RHEL8 server

Okay, so the server was changed to case insensitive yesterday morning.

Today, I just watched an instance where files disappeared in real time. User print33 was moving/deleting files from a job on the server.

It got hung up, the server was showing no folders, so we force quit the Finder. The server share unmounted, then we remounted it.

Before the hang up there were 239 folders on the server. Now there’s only 224.

I know this because I had just gone through and made sure all folders were accounted for this morning.

Absolutely stumped as to why this is happening. I’ve sent the sosreport to Red Hat to see if they can decipher anything.

Kind regards,


[Image removed by sender.]

Mike Soliven
IT Manager
Winnipeg, Manitoba, Canada R2X 2Y1
204.697.3338 Ext.1235
www.embassygraphics.com<http://www.embassygraphics.com/>


CONFIDENTIALITY NOTICE: This electronic transmission and any attachment are the confidential property of the sender, and the materials are privileged communications intended solely for the receipt, use, benefit, and information of the intended recipient indicated above. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this electronic transmission is strictly prohibited, and may result in legal liability on your part. If you have received this email in error, please forward back to sender and destroy the electronic transmission.


On Tue, May 20, 2025 at 8:49 AM I T <it at embassygraphics.com<mailto:it at embassygraphics.com>> wrote:
Thanks for this info! I appreciate it. AFAIK, I've never changed any settings on the Macs re: case sensitivity, so they should be insensitive. Is there a way I can check this?

Kind regards,


[Image removed by sender.]

Mike Soliven
IT Manager
Winnipeg, Manitoba, Canada R2X 2Y1
204.697.3338 Ext.1235
www.embassygraphics.com<http://www.embassygraphics.com/>


CONFIDENTIALITY NOTICE: This electronic transmission and any attachment are the confidential property of the sender, and the materials are privileged communications intended solely for the receipt, use, benefit, and information of the intended recipient indicated above. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, distribution, or the taking of any action in reliance on the contents of this electronic transmission is strictly prohibited, and may result in legal liability on your part. If you have received this email in error, please forward back to sender and destroy the electronic transmission.


On Sun, May 18, 2025 at 11:41 PM itdept_head <itdept_head at grown-up.com<mailto:itdept_head at grown-up.com>> wrote:

You have to be really careful with shares and macs.
Since each mac can be set to either be case sensitive or not.
It is possible for macs to throw all sorts of errors, if they are operating on mixed case systems.

If the mac assumes it is case sensitive and it is not , it can  either delete files or cause file name clashes that throw errors.

https://www.truenas.com/community/threads/ongoing-battle-with-case-sensitive-dataset-smb-mount-from-osx.95515/




On 15/5/2025, 3:28 AM, "samba on behalf of I T via samba" <samba-bounces at lists.samba.org<mailto:samba-bounces at lists.samba.org> <mailto:samba-bounces at lists.samba.org<mailto:samba-bounces at lists.samba.org>> on behalf of samba at lists.samba.org<mailto:samba at lists.samba.org> <mailto:samba at lists.samba.org<mailto:samba at lists.samba.org>>> wrote:


Thanks for the confirmation, Roland. I'll have those looked at.


I've gotten some info that because the server is case sensitive, it could
be interfering with Apple's SMB protocol. Any thoughts on that? It is
something I'll look into.


Kind regards,




*Mike Soliven*
*IT Manager*
Winnipeg, Manitoba, Canada R2X 2Y1
204.697.3338 Ext.1235
www.embassygraphics.com<http://www.embassygraphics.com>




CONFIDENTIALITY NOTICE: This electronic transmission and any attachment are
the confidential property of the sender, and the materials are privileged
communications intended solely for the receipt, use, benefit, and
information of the intended recipient indicated above. If you are not the
intended recipient, you are hereby notified that any review, disclosure,
copying, distribution, or the taking of any action in reliance on the
contents of this electronic transmission is strictly prohibited, and may
result in legal liability on your part. If you have received this email in
error, please forward back to sender and destroy the electronic
transmission.






>
> >
>
> There is nothing there that should be causing your problem, except for,
> every time you set 'vfs objects' in the shares, you are turning of
> the 'vfs objects' you have set in 'global', which are 'apple' ones.
>
> Rowland
>
>
>
> _______________________________________________
> samba mailing list
> samba at lists.samba.org<mailto:samba at lists.samba.org> <mailto:samba at lists.samba.org<mailto:samba at lists.samba.org>>
> https://lists.samba.org/mailman/listinfo/samba <https://lists.samba.org/mailman/listinfo/samba>
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba <https://lists.samba.org/mailman/options/samba>




More information about the samba mailing list