?
Solved

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

Posted on 2014-04-30
4
Medium Priority
?
84 Views
Last Modified: 2014-12-25
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
Comment
Question by:itsmehar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 40032401
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
 

Accepted Solution

by:
itsmehar earned 0 total points
ID: 40032510
@miguel

The calling server is also a 2008 R2 server
0
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 40041893
Is there any firewall between servers?
0
 

Author Closing Comment

by:itsmehar
ID: 40517459
no resolution
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question