Defragmentation and Shadow Copies

Written by on Sunday, March 2, 2008 2:07 - 0 Comments

How to make defragmentation work properly with shadow copies enabled.

Defragmenting a hard drive that has shadow copies enabled on it can result in loss of shadow copy information. That means users who have files stored on the server may not be able to recover previous versions when they need to. The reason this problem occurs is that when defragmentation is underway, the Volume Shadow Copy Service thinks that new files are being written to the volume and tries to create shadow copies of them as defragmentation occurs. The result is corrupted shadow copy information.

There are two ways you can work around this problem:

1. You can format the NTFS volume using 16kB or larger clusters. Since the Volume Shadow Copy service works with file units this size, it understands how to deal with them appropriately. Unfortunately this can mean wasting lots of space if your file server is used to save lots of small files.
2. Create a separate volume and store the shadow copy information for all your existing volumes on this new volume, and never defragment this new volume. Having a dedicated shadow copy volume like this is a good workaround to the problem, and if users only occasionally need to restore old versions of files then even if this new volume is never defragmented it should perform its function reasonable well, especially if the new volume is on its own separate physical drive. ')}

Article written by

Leave a Reply

You must be logged in to post a comment.

2003 server - Sep 30, 2008 22:34 - 0 Comments

instant messaging srv records

More In Computers & PC

Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments

Outlook: Duplicates in Mailbox

More In Computers & PC