Magnetic Library Defragmentation

  • 6 February 2021
  • 5 replies
  • 159 views

Badge +1

I have read a couple or articles on CommVault Online that say defragmentation of the Magnetic libraries is a good idea. Diskeeper, now Dymax IO, was listed as a certified product for online volumes. I am wondering if others defrag there libraries for performance purposes, and what products they use. I have read in older articles that the native windows defragmentation tool can be used. Also it states that it should be done outside of backup hours (makes sense). Any feedback or information would be appreciated.

 

Thanks


5 replies

Userlevel 1
Badge +1

Thank you for your question.

I can confirm that defragmentation is indeed used by other customer to assist with library performance.

Apart from Disk Keeper, customers usually keep to the native windows tool.

Fragmentation Analysis in this page gives a little more information on the subject: https://documentation.commvault.com/commvault/v11/article?p=9319.htm 

 

 

 

Userlevel 1
Badge +3

Hi Monty. What kind of Storage do you use? If you are on a external SAN-Storage or a local RAID-Array I would caution against using Defragmentation Tools, same with SSD/Flash Storage.

On local standalone Disks defragmentation can help. In my Envs we decided to skip that step for now and rely on Commvaults use of Sparsefiles and defragmenting those files if they get too sparse. If you use that external defrag can be contraproductive. 

Badge +1

CSumner...Do you know if the native Windows Tools can be used while library is online or does the library have to be taken offline. Ideally I would like to run the defrag while the Aux copies are running to tape during the day.

 

Stefan… The storage that we are using is external SAN-Storage. So from what you are saying the defrag process can interfere with the CommVault clean-up process?

 

Thanks for all your help...

Userlevel 1
Badge +3

you should never defrag SAN-LUNs, that only causes massive load on the Storage without doing anything for performance. Storage Boxes manage the logical blocks themselves and use their own logic to keep access fast.

Userlevel 6
Badge +13

you should never defrag SAN-LUNs, that only causes massive load on the Storage without doing anything for performance. Storage Boxes manage the logical blocks themselves and use their own logic to keep access fast.

I agree with this. The way that deduplication works means that you’re going to end up with 99% fragmentation at some point - we granularly remove blocks between other blocks of data which is a natural cause of fragmentation (unless your storage target does not support sparse, in which case you need to run commvault defragmentation anyways (aka space reclamation). How different storage targets deal with fragmentation is going to depend on the target.

If you have direct-attached disk which is not great with random I/O, then you could improve read performance with defragmentation. As Stefan mentions, there are some really smart arrays out there where defragmentation won't make much of an impact, since they already cache or tier hot blocks or restructure data on the backend to optimize access.

 

Reply