We have windows share that is always working as it should, directories are always writable.
Now the share must be read from an Ubuntu machine so added a mount based on cifs with /etc/fstab
//dfs/share /mnt/dfs cifs nocase,rw,cred=/etc/cifspasswd 0 0
Most of the time it works well, but every few weeks PART of the directories give question marks for their stats.
ls -l /mnt/dfs
- drwx--x--x 2 root root 0 Aug 24 17:46 ShippingNote
- d????????? ? ? ? ? ? Target01
- d????????? ? ? ? ? ? Target02
Here Shippingnote is reachable but target0x is not.We had a theory that the server was unable to get a new kerberos ticket from the domain controller, so we tried restarting sssd and realmd. But this did not help, only a reboot fixes it. And then it returns after a while.
lsb_release -a: Ubuntu 20.04.3 LTS
What could cause this? How to debug this?