We have a Windows Data Storage Server 2003 cluster running several file shares. We use JKDefrag scheduled nightly to keep the drives defragmented. About every 3 months or so, a user will attempt to upload a file to his share on this cluster and fail partway through. We've determined that it is JKDefrag locking the file that prevents the upload from completing, and also prevents us from deleting the incomplete file and trying again. If we kill the JKDefrag process, the incomplete file can be deleted and reuploaded without problem.
Since JKDefrag uses the Windows Defrag API, this seems to be an issue with Windows Defrag. Has anyone encountered a problem like this before? It seems like Defrag is finding the incomplete upload and attempts to defrag the file while it's still being written. Is there any way to configure the server to lock the file until it is complete so that Defrag can't touch it?
Thanks!