This is strange as /data and /tmp are 2 partitions on my server and scratch is a directory in /data
There is absolutely no symlink involved here.
# smbstatus
Samba version 4.9.4
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
20580 smith smith 10.0.21.223 (ipv4:
10.0.21.223:49971) SMB3_11 - partial(AES-128-CMAC)
Service pid Machine Connected at Encryption Signing
---------------------------------------------------------------------------------------------
scratch 20580 10.0.21.223 Tue Mar 12 06:29:41 PM 2019 CET - -
scratch 20533 10.0.21.251 Tue Mar 12 06:29:06 PM 2019 CET - -
IPC$ 20580 10.0.21.223 Tue Mar 12 06:29:37 PM 2019 CET - -
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
20533 1011 DENY_NONE 0x100081 RDONLY NONE /data/scratch . Tue Mar 12 18:29:06 2019
20533 1011 DENY_NONE 0x100081 RDONLY NONE /data/scratch . Tue Mar 12 18:29:06 2019