IDPA or Avamar - Data Domain - How To Reclaim Space and Reduce Capacity Usage On DD Active Tier - Constor Solutions Limited
IDPA or Avamar - Data Domain - How To Reclaim Space and Reduce Capacity Usage On DD Active Tier - Constor Solutions Limited
IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier
Created by: Ramakrishna Karumanchi
Modified on: Fri, 30 Oct, 2020 at 1:05 PM
Summary: Data Domain Active tier capacity is increasing rapidly, is near 100%, or needs to be reduced below 85% before a
planned IDPA upgrade. There are many factors to consider when analyzing increasing or high capacity usage. The below
Resolution path will explore them systematically.
Issue:
Data Domain Active tier capacity is increasing rapidly, is near 100%, or needs to be reduced below 85% before a planned IDPA upgrade.
There are many factors to consider when analyzing increasing or high capacity usage. The below Resolution path will explore them systematically.
Note: Some of the KB articles linked below have limited visibility. If needed, please open a Service Request to troubleshoot Data Domain Active tier capacity.
Resolution:
DDBoostUser@ddhostname# df
Example Output:
Active Tier:
Resource Size GiB Used GiB Avail GiB Use% Cleanable GiB*
---------------- -------- -------- --------- ---- --------------
/data: pre-comp - 926097.1 - - -
/data: post-comp 7309.6 6598.4 711.2 90% 13.3
/ddvar 49.2 7.6 39.1 16% -
/ddvar/core 158.5 0.2 150.2 0% -
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 1/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
If there are non-Avamar mtrees with significant pre-comp data contributing to the overall capacity usage, refer to KB 333479
(https://www.dell.com/support/kbdoc/000333479/Data-Domain-How-to-resolve-issues-with-high-space-utilisation-or-a-lack-of-available-capacity-on-Data-Domain-Restorers-DDRs).
This KB article is only intended to assist with Avamar mtree capacity usage.
admin@avamar:~/>: status.dpn
If there is not an (OK) besides each maintenance activity, the activity is in progress or has failed. If there are any failures in the most recent maintenance cycle, these will
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 2/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
cause Data Domain capacity usage to swell and must be resolved before proceeding. There are many possible causes for maintenance activity failures and associated KB
articles.
Note: If Avamar maintenance activities are failing because Data Domain capacity has reached 100% with 0 bytes available, see KB 477305
(https://www.dell.com/support/kbdoc/000477305/Recovering-from-Data-Domain-100-Full-when-integrated-with-Avamar).
Example output:
Snapshot Summary
-------------------
Total: 6
Not expired: 2
Expired: 4
Snapshot Information for MTree: /data/col1/avamar-15XXXXXXXXX
----------------------------------------------
Name Pre-Comp (GiB) Create Date Retain Until Status
----------------- -------------- ----------------- ----------------- -------
cp.20200217160108 0.0 Feb 17 2020 11:01 Feb 18 2020 11:04 expired
cp.20200217160515 0.0 Feb 17 2020 11:05 Feb 18 2020 11:05 expired
cp.20200218160037 0.0 Feb 18 2020 11:01 Feb 19 2020 11:05 expired
cp.20200218160445 0.0 Feb 18 2020 11:05 Feb 19 2020 11:06 expired
cp.20200219160045 0.0 Feb 19 2020 11:01
cp.20200219160552 0.0 Feb 19 2020 11:06
----------------- -------------- ----------------- ----------------- -------
The Avamar mtree should have 2 snapshots from the most recent Avamar cycle and the remaining snapshots should be expired.
If there are more than two non-expired snapshots:
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 3/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
- If Data Domain was recently upgraded from v6.0 or IDPA was recently upgraded from v2.0, consult KB 502996 (https://www.dell.com/support/kbdoc/000502996/Avamar-Data-
Domain-Integration-After-upgrading-Data-Domain-to-6-1-x-Avamar-snapshots-don-t-expire-on-Data-Domain).
- Otherwise, engage Data Domain support team for assistance.
Step 5. Confirm Data Domain cleaning has run within the last 7 days:
Note: No space will be reclaimed on Active tier disks until the following steps occur:
1. Backups are expired according to Avamar policy or are manually deleted
2. A full Avamar maintenance cycle runs which will mark backups for deletion and expire old snapshots on DD (occurs every morning by default)
3. Checkpoint backups with references to deleted/expired backup data are rolled off (explained in step 6)
4. Data Domain filesystem cleaning runs and reclaims space on disk (occurs every Tuesday by default)
- It is not advisable to regularly run Data Domain cleaning more than once a week, though cleaning can be run manually on occasion to reclaim space. See KB 470633
(https://www.dell.com/support/kbdoc/000470633/83711-Too-frequent-cleaning-causing-poor-data-locality) for more information.
- On IDPA systems, checkpoint backups are enabled by default. They allow for a checkpoint restore in very rare scenarios when Avamar does not have a validated
checkpointed and is unable to produce one.
- If checkpoint backups are enabled, capacity reclamation will be delayed an additional 7 days. This means as backups are marked for deletion on Avamar, space will not be
reclaimed until the Tuesday after next (7-14 days).
- If Data Domain capacity hits 100%, all backups and maintenance activities will fail. If the capacity situation is critical, and provided Avamar maintenance activities are
succeeding, it is typically worth the miniscule risk to temporarily disable and delete existing checkpoint backups to avoid the 7 day space reclamation delay. This will help buy
time to reconsider the current Data Domain sizing, Avamar retention policies, registered clients, and datasets in use which contributed to the high capacity situation.
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 4/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
b) Checkpoint backups can be disabled by editing the Data Domain settings in either the Avamar Administrator or AUI.
c) For information on removing checkpoint backups, refer to (internal article) KB 476252 (https://www.dell.com/support/kbdoc/000476252/Checkpoint-Backups-Stored-On-Data-
Domain-Causing-Capacity-issues-after-disabling-checkpoint-backups)
- When new clients are registered to Avamar and begin to backup, unique data is written during backups but old data is not yet expired and deleted. This is particularly
important to note for monthly and yearly backups, which will result in capacity growth for the length of the retention period (ex: 1 retention year for monthly/yearly
backups).
root@avamar:~/#: find /usr/local/avamar/var/ddrmaintlogs/ -type f | sort -Vr | xargs grep -E "gc-finish:.*[0-9]+ client directories on Data Domain" | cut -d ":" -f 2,3,7
Example output:
Dec 4 08:00: 8 client directories on Data Domain
Dec 5 08:00: 8 client directories on Data Domain
Dec 6 08:00: 8 client directories on Data Domain
Dec 7 08:00: 37 client directories on Data Domain
Dec 8 08:00: 37 client directories on Data Domain
Dec 9 08:00: 51 client directories on Data Domain
Dec 10 08:00: 93 client directories on Data Domain
Dec 11 08:00: 93 client directories on Data Domain
There is one client directory on the Data Domain filesystem dedicated to each Avamar client that has at least one backup.
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 5/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
Flags:
- 'days' value can be edited to match common retention period. Note: If clients were registered within the "days" window, decrease the days value to prevent these new
clients from being listed with disproportionately high 'NEW DATA'
- 'top' flag can be used to list more than 5 clients
See KB 336542 (https://www.dell.com/support/kbdoc/000336542/Avamar-How-to-use-capacity-sh-script-to-understand-daily-data-changes-on-an-Avamar-system) for additional
capacity.sh information
b) Consider removing older backups for highest change rate clients (requires customer approval!!):
Deleting older backups for clients listed under the Top Change Rate Clients section is the most effective means of recovering space on disk.
- Backups of highest change rate clients are best deleted from the Avamar Administrator or AUI.
There are additional options which can help reclaim space more slowly than backup deletion:
- Reduce the retention period for high change rate clients.
Note: Changing the retention policy will only change the retention for new backups. Backups created before the retention policy change will still have the original retention
period. See KB 333438 (https://www.dell.com/support/kbdoc/000333438/Avamar-Capacity-Management-How-to-delete-or-expire-backups-in-bulk-with-the-modify-snapups-tool) for
information about changing expiration dates for existing backups in bulk with the modify-snapups tool.
- Migrate clients off of this grid to be backed up elsewhere, such as another Avamar/DD or IDPA system.
- Review and modify Avamar datasets for highest change rate clients to exclude any data that does not need to be backed up.
Step 9. Consider removing the oldest backups on the system (requires customer approval!!):
- Older monthly and yearly backups contain significantly more unique data than recent daily backups, and are strong candidates for space reclamation. However, sometimes
regulatory requirements mandate certain retention periods.
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 6/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
Flag info:
'--before' affects backups created X number of days ago.
'--domain=/' can be used to affect backups in all client domains.
b) Note number of backups to be affected. MODIFY means the backup will be deleted or expired, CONSERVE means backup did not meet flag criteria and will be unaffected
by running script.
Ex:
admin@avamar:~/>: grep -c MODIFY modifyoutput.txt
751
admin@avamar:~/>: grep -c CONSERVE modifyoutput.txt
1363
c) Per modify-snapups KB, add executable permission to script, and run script.
Step 10. De-reference deleted backups and reclaim space on Active tier disks:
- After backups have been deleted, wait for Avamar maintenance cycle, checkpoint backup expiration (if applicable), and Data Domain filesystem cleaning to occur as
scheduled, or initiate these activities manually.
- It is generally best to allow Avamar maintenance activities to run during the next maintenance window, and start Data Domain cleaning manually after Avamar maintenance
activities complete.
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 7/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 8/9
9/5/23, 10:53 PM IDPA or Avamar/Data Domain: How to reclaim space and reduce capacity usage on DD Active tier : Constor Solutions Limited
https://support.constor.co.uk/support/solutions/articles/77000475124-idpa-or-avamar-data-domain-how-to-reclaim-space-and-reduce-capacity-usage-on-dd-active-tier 9/9