7.02.2012

File Sharing Violations

Some users have reported seeing a significant number of sharing violations (Windows error 32) reported in COPIAFACTS trace files after upgrading some of their machines, or their file server, to Vista, Windows 7, or Server 2008.

We have tracked this down to a Microsoft issue that affects networks where XP or Server 2003 machines (Windows version 5.x) are accessing the same network folders as Vista, Windows 7 or Server 2008 machines (Windows version 6.x), and the network folders are on a machine running one of the latter group of operating systems.

In these circumstances, a network file closed on Vista, Windows 7, or Server 2008 may not actually be closed on the server until up to 30 seconds later!  Naturally, this causes havoc in our FS file queues, and can affect several other areas as well.  And since we assume it is a real error, CopiaFacts will usually retry each failed file access for the number of times specified in $lock_tries (default 20), which adds unnecessarily to your network load.

The problem does not affect networks where the nodes are all XP and 2003 or all Vista and Windows 7 and Server 2008.  If your network is affected, we strongly recommend that you install the Microsoft Hotfix for this issue: http://support.microsoft.com/kb/2625434.