• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 91
  • Last Modified:

2008 R2 hanging on to renamed or deleted files for a few sec

Issue: We recently upgraded our core files server from 2003 to 2008 R2. There is a process that renames a file and then seraches the dir withthe with a wildcard and is supposed to find the renamed file and return it back to the calling process.

for example:
before the upgrade we would rename the file and then execute the command "cmd /c dir /A-D /B \\[2003fileserver]\Input\abc*.txt" and it would return abc1234.txt

Now it returns 2 values
[0]=abc.txt
[1]=abc1234.txt

So i have added Thread.sleep(10000) between the rename and the above command. This seems to have fixed the issue but i am not sure where else this may be an issues since we do renames and deletes all over the place.

does any one know if 2008 indeed hangs on to the original file or deleted file name for a few sec before clearing them out? if yes what can be done?
0
itsmehar
Asked:
itsmehar
  • 2
  • 2
1 Solution
 
Miguel Angel Perez MuñozCommented:
Maybe this delay on shared folders may be caused by smb negotiation. Remember that Windows 2003 uses smb v1 but windows 2008 uses smb v2. You can try downgrading smb version on windows 2008: http://support.microsoft.com/kb/2696547
0
 
itsmeharAuthor Commented:
@miguel

The calling server is also a 2008 R2 server
0
 
Miguel Angel Perez MuñozCommented:
Is there any firewall between servers?
0
 
itsmeharAuthor Commented:
no resolution
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now