Tip

Shadow copies influence server performance

The shadow copy feature for shared folders in Windows Server 2003 is a tremendous time saver for administrators. Using shadow copies of user folders, for instance, lets users recover from their own mistakes. If they deleted a file but didn't mean to, they can easily recover it without asking you.

That's the up side. There is a potential down side: using shadow copy imposes a performance penalty since data is written twice. Generally this isn't an issue. Microsoft uses a copy-on-write mechanism to make an image of the volume and the demands on server bandwidth and storage space are minimal. In fact, even very large user files such as individual users storing Outlook personal file folders (.pst) on the server won't produce any noticeable performance impact unless the server is heavily loaded.

If the server is heavily loaded there may be a noticeable performance penalty because of the additional disk head seeks as the second copy of the data is written to the disk. In this case, Microsoft recommends dedicating a disk for shadow copy storage. That keeps the shadow copy writes contiguous and reduces the amount of seek time. Normally, the shadow copy snapshot is stored on the same NTFS volume as the original.

Just how much of a performance penalty you will pay for user shadow copy is difficult to determine in advance since it varies depending on the workload, the pattern of work and storage activity. However, Windows Server 2003 has several tools that let you monitor

Requires Free Membership to View

shadow copy's performance. Collectively called Volperf (which is short for Volume Shadow Copy Service Performance), these tools can be activated from the Performance Logs and Alerts menu under the system monitor.

The procedure is:

  • From System Monitor > Double-click Performance Logs and Alerts > right-click Counter Logs > New Settings.
  • Choose a name for the log, such as "Shadow Copy Performance," and click OK.
  • Go to General > Add Counters and select the appropriate counters: Go to Log Files > Log File Type drop-down box and select the output format.
  • Choose a CSV file type if you want to be able to manipulate the data in Excel. The data can also be sent to a SQL database format. Make sure the End File Names checkbox is checked. Use the year, month and day format yyyymmdd.
  • Go to the Schedule > Start Log At, enter the start time for logging.
  • Click the Stop Log At checkbox and enter the time at which logging should stop.
  • Click Apply > OK. The log files will be created in \Perflogs by default.

The Volperf tools track the number of shadow copies open, the amount of disk space being used and the growth of disk use, among other things. When combined with the network performance tools, this gives a picture of the load Shadow Copy Services is placing on the server.

Microsoft offers a complete description of the process at: http://www.microsoft.com/technet/itsolutions/cits/mo/winsrvmg/fspog/fspog3.mspx.


Rick Cook has been writing about mass storage since the days when the term meant an 80K floppy disk. The computers he learned on used ferrite cores and magnetic drums. For the last 20 years he has been a freelance writer specializing in storage and other computer issues.

This was first published in December 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.