Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba provides "Old" version of file(s)???

Status
Not open for further replies.

BobMCT

IS-IT--Management
Sep 11, 2000
756
US
We are running same 2.2.x on an AIX 5.1 system. We access a share on that machine from our windows workstations (98SE and XP). This has been working wonderfully for years now.

Here is a strange situation that's been plaguing us for a while and perhaps someone can elighten us as to what it occurs and how to overcome it.

We have our workstations setup so the shares are established with the PC's boot (usually first thing in the AM). If we access a file from the PC with a program like an editor, a windows explorer and a file browse we will repeatedly get a copy of the OLD file prior to any mods or changes.

In fact, yesterday, on the AIX box, I deleted and recreated a zip file containing multiple files. Then from my PC workstation (W98SE) I sent an email and attached the zip file from the logical share drive. It seemed to go just fine.

Then the recipient contacted me and stated he received the same file I sent him yesterday. I rechecked my zip file on the AIX machine and it WAS the correct one.

It appears that the files are, somehow, being cached by the SMB somewhere between the PC program and the actual data.

Can anyone explain WHY this is occuring? And, more importantly, what can be done to alieviate this? So far, the only way to resolve it is to drop the share then remap it again. Then and only then, does it seem the NEW version of the files are retrieved.

Thanks in adavance.

Bob
 
If another process is accessing those files, even Anti-virus on the workstation or server, then it's likely an issue with opportunistic locking.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top