I mounted an xfs share on windows. Even after the share is deleted from smb.conf and SIGHUP signal is sent to smbd process, it still shows up in windows client(refresh doesn,t work).
I tried "smbconbtrol all reload-config" and it works intermittently.
Meanwhile when I use windows for both server and client, on refresh I don't see
any stale share.
a reload of smb.conf reads in the smb.conf but it does not make it forget eveything that it was reading there before :-)
u need to use available=no or restart smbd.