David J. Reiter
1998-Nov-14 00:33 UTC
no updates seen on PC after unix changed (v2.0 alpha)
Hi, I just installed Version 2.0.0-prealpha on a Solaris 2.5.1 machine. We are exporting one filesystem to the PC's. I can connect from my Win95 PC without a problem and I see all the files on the shared drive. If I bring up Windows explore and double click on a text file I can see the file without a problem. I then close the file and go to the unix box and change the text file. If I then double click on the PC side again it shows me the old file, not what has been changed on the unix side. I have looked through all the documentation and can't see anything parameter that might be causing this problem. If anyone know what I can do to fix it please let me know. Thanks in advance, David. David Reiter dreiter@logicon.com Logicon Information Technology Group 404 Camino Del Rio South #500 San Diego, California 92108-3503 619-610-8800 x 5260
See the "oplocks" option in the smb.conf man page. It allows clients to "aggressively cache files locally", hence your client is not seeing the updated file, just the locally cached one. Set "oplocks = false" in your smb.conf for the share where it's a problem. Remember, there will be a performance penalty, so only apply it to shares where its a problem, avoid setting it globally. Peter Debus Computer Systems Administrator School of Mathematical Computer Sciences University of New England Armidale NSW Australia Ph: 61 (0)267 73 2412 Fax: 61 (0)267 73 3312> > Hi, > I just installed Version 2.0.0-prealpha on a Solaris 2.5.1 machine. > We are exporting one filesystem to the PC's. I can connect from > my Win95 PC without a problem and I see all the files on the shared > drive. If I bring up Windows explore and double click on a text > file I can see the file without a problem. I then close the file > and go to the unix box and change the text file. If I then double > click on the PC side again it shows me the old file, not what > has been changed on the unix side. I have looked through all the > documentation and can't see anything parameter that might be > causing this problem. If anyone know what I can do to fix it please > let me know. Thanks in advance, > > David. > > David Reiter dreiter@logicon.com > Logicon Information Technology Group > 404 Camino Del Rio South #500 > San Diego, California 92108-3503 > 619-610-8800 x 5260 > >
David J. Reiter
1998-Nov-17 18:46 UTC
Setting of Oplocks paramaters to disable PC file cache?
Greetings All, I am trying to get the PC to not cache files and have not had any luck. I am running version 2.0 and have tried setting oplocks = no but still the PC will load the old file for about a minute. After that the PC will load the new one. What I need is for the PC to immediately see the new file. Does anybody know the other parameters to set to disable the cache? What should share mode and the other locking values be set at? Does anybody have this working where there is no cache? If you could send me your configuration file that would be great. Thanks in advance, David. David Reiter dreiter@logicon.com Logicon Information Technology Group 404 Camino Del Rio South #500 San Diego, California 92108-3503 619-610-8800 x 5260