Jump to content

Samba caching


SSD

Recommended Posts

I have been doing to reorganizing in my array and noticing a little strangeness with the Samba shares.  I have created a number of custom Samba shares and am noticing that if I update their definitions on the unRAID server and cause it to reload them, that my workstations will not see the updates until I reboot.  For example, I have a share that was read-only to a user, and I updated it to read/write.  But the user could not write to the share until they rebooted.

 

I believe that this worked without a reboot on an earlier version of unRAID and Windows XP.

 

Is there a way to force a reconnection from Windows to the unRAID server to avoid the need to reboot?

Link to comment

Once you're in Windows Explorer and have the unRAID server browsed under Network, the typical Right-Click, Select Refresh or Alt-V,R,R[Enter] doesn't work?

 

Nope.  It would only refresh content, not the share itself.

Link to comment

I've noticed that on Windows 7 64-bit too ... happens pretty rarely to me (4.6 final)

 

great fun when you get two different directory listings from two different Windows 7 machines ...

 

especially when you're deleting things that you thought you deleted ... but it shows that 'they are there' ... but they aren't there ... and refreshing/restarting Windows Explorer doesn't help

Link to comment

Try this: open a command window and type:

 

net use * /delete

 

I ran that command from a command line (on with Windows 7 machine):

 

C:\Users\Sage>net use * /delete

There are no entries in the list.

 

No impact.  I also tried a bunch of other "net use" commands -

 

C:\Users\Sage>net use /PERSISTENT:NO

The command completed successfully.

 

C:\Users\Sage>net use /PERSISTENT:YES

The command completed successfully.

 

C:\Users\Sage>net use \\tower\myshare

The command completed successfully.

 

C:\Users\Sage>net use \\tower

The command completed successfully.

 

C:\Users\Sage>net use \\tower /DELETE

\\tower was deleted successfully.

 

I tried to access between each one.  No good.

 

Rebooted - permissions are correct.

 

I did some research yesterday and read something about the client getting notified by Samba when configuration changes are made.  (I can't find the link but will keep looking if needed).  Perhaps the newest version of Samba is not publishing the changes properly - or else Windows 7 is not listening properly.

Link to comment
Perhaps the newest version of Samba is not publishing the changes properly - or else Windows 7 is not listening properly.

You can see what SAMBA is advertising with the

testparm

command.

 

It is up to the "master browser" on your network to map the shared drives available and advertise them to windows clients.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...