If you’re using macOS Time Machine to a NAS Time Machine server using Samba SMB services, beware Samba 4.22:
“As part of the backup TM tries to rename a directory while having an open file within the directory. Windows requires this to fail and this is what Samba also implements. There used to be a workaround for Macs by using fruit:posix_rename but that option was removed in 4.22 as it imposed an unreasonable development burden due to introducing hard to follow logic in very complex code. As part of implementing SMB3 UNIX Extensions in Samba, this part of the code has to be modified and this was only sensibly possible after removing the fruit:posix_rename code.
As an alternative, fruit shuld be extended to internally make macOS clients POSIX clients so they can benefit from the existing logic in Samba that allows such renames if all opens (recursively) are POSIX opens.
Have patch, need bugnumber.”
https://bugzilla.samba.org/show_bug.cgi?id=15926
Also:
“fruit:posix_rename
This option of the vfs_fruit VFS module that could be used to enable POSIX directory rename behaviour for OS X clients has been removed as it could result in severe problems for Windows clients.
As a possible workaround it is possible to prevent creation of .DS_Store files (a Finder thingy to store directory view settings) on network mounts by running
$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true
on the Mac.”
https://wiki.samba.org/index.php/Samba_4.22_Features_added/changed#fruit:posix_rename
#macos #samba #timemachine