RoboCopy fails with "the specified network name is no longer available"

Posted by Justin Scott on Server Fault See other posts from Server Fault or by Justin Scott
Published on 2010-06-16T20:40:26Z Indexed on 2010/06/16 20:43 UTC
Read the original article Hit count: 733

Filed under:
|

We have a scheduled task that runs robocopy periodically to mirror a rather large folder structure from one server to another (thousands of folders, 100,000+ files, 50+ GB in size). There is a share on the receiving server where the mirror gets stored. We're running the task from the origin server connecting out to the share on the receiving end. Both servers run Windows Server 2003 and are connected to the same network switch (100Mbps).

The process will sometimes complete all the way through without error. More often than not, however, at some point during the process (seems random as to where), robocopy will fail with the error The specified network name is no longer available. It will wait 30 seconds and try the file again and eventually give up after a number of retries. Process will repeat at the next schedule interval and may complete... or not.

When this occurs I am not able to access the share at all on the destination server from anywhere on the network for up to 30 minutes. There is nothing else on the network using this share.

My question is what does this error mean specifically? Why is the share "dropping off" and becoming inaccessible? Is there a way to prevent it and get the file mirroring to be more stable?

© Server Fault or respective owner

Related posts about network-share

Related posts about robocopy