User Tools

Site Tools


tsm:tsm_dedup_stats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tsm:tsm_dedup_stats [2021/06/28 12:25]
manu created
tsm:tsm_dedup_stats [2023/12/12 22:51] (current)
manu [Container too big on replica, using node replication]
Line 1: Line 1:
 ====== Viewing IBM Spectrum Protect data deduplication statistics ====== ====== Viewing IBM Spectrum Protect data deduplication statistics ======
  
- +===== Summary ​=====
-Summary+
  
 You can query data deduplication statistics for all types of storage pools. You can query data deduplication statistics for all types of storage pools.
Line 8: Line 7:
 Steps Steps
 Use the following methods to query data deduplication statistics for all types of storage pools: Use the following methods to query data deduplication statistics for all types of storage pools:
-1.    ​QUERY OCCUPANCY +  * QUERY OCCUPANCY 
-2.    ​SELECT * from OCCUPANCY +  ​* ​SELECT * from OCCUPANCY 
-3.    ​SELECT * from SUMMARY+  ​* ​SELECT * from SUMMARY
  
  
-QUERY OCCUPANCY+=== QUERY OCCUPANCY ​=== 
 Use the QUERY OCCUPANCY command to show how much space client file spaces occupy. Use this command when you want to issue a command from the command line. You can specify a storage pool to query for files from a specified file space. Use the QUERY OCCUPANCY command to show how much space client file spaces occupy. Use this command when you want to issue a command from the command line. You can specify a storage pool to query for files from a specified file space.
-Restriction:​ For container storage pools, you cannot view statistics for the node and file space by using the QUERY OCCUPANCY command. You must use the following commands to display node and file space statistics for container storage pools: 
  
 +Restriction:​ For container storage pools, you cannot view statistics for the node and file space by using the QUERY OCCUPANCY command. You must use the following commands to display node and file space statistics for container storage pools:
 +<cli prompt='>'>​
     GENERATE DEDUPSTATS     GENERATE DEDUPSTATS
     QUERY DEDUPSTATS     QUERY DEDUPSTATS
     DELETE DEDUPSTATS     DELETE DEDUPSTATS
-    ​ +</​cli>​ 
-Example +    
 +**Example** 
 +<cli prompt='>'>​
 SELECT * from OCCUPANCY SELECT * from OCCUPANCY
 +</​cli>​
 Use the SELECT * from OCCUPANCY command as part of report generation and automation. Use the SELECT * from OCCUPANCY command as part of report generation and automation.
  
Line 62: Line 65:
             DESC:             DESC:
 </​cli>​ </​cli>​
 +
 +<cli prompt='>'>​
 +Protect: ISPSRV1>​q DEDUPSTATS CONTAINER1 LNX142L ​
 +
 +Date/​Time ​              ​Storage ​       Node Name      Filespace ​     FSID     ​Type ​    Total Savin- ​       Total Data
 +                        Pool Name                     ​Name ​                            g Percentage ​    ​Protected (MB)
 +------------------- ​    ​---------- ​    ​---------- ​    ​---------- ​    ​---- ​    ​---- ​    ​------------ ​    ​--------------
 +06/28/2021 12:​23:​16 ​    ​CONTAINER1 ​    ​LNX142L ​      / ​                ​1 ​    ​Bkup ​           93.17                 41
 +06/28/2021 12:​23:​16 ​    ​CONTAINER1 ​    ​LNX142L ​      /​opt/​mqm ​         3     ​Bkup ​           74.82              1,836
 +</​cli>​
 +
 +===== Container too big on replica, using node replication =====
 +
 +Cache on target storage pool using container is growing abnormally, there are 2 cache on a container
 +  * Space Used for Protected Data: used for process **protect stgpool**
 +  * Total Pending Space: used for process **replicate node**
 +
 +<cli prompt='>'>​
 +Protect: TSM02>q stg f=d
 +                     ​Storage Pool Name: CONTAINER01
 +                     ​Storage Pool Type: Primary
 +                     ​Device Class Name:
 +                          Storage Type: DIRECTORY ​                     ​
 +                    Estimated Capacity: 80,531 G
 +         Space Used for Protected Data: 4,671 G
 +                   Total Pending Space: 300 G
 +</​cli>​
 +
 +To purge these caches, use the associated command.
 +
 +**Also on source and target you can purge cache**
 +<cli prompt='>'>​
 +Protect: TSM01>​remove stgprotection localstgpool=container01 remoteserver=tsm02 ​ remotestg=container01
 +</​cli>​
 +
tsm/tsm_dedup_stats.1624875926.txt.gz · Last modified: 2021/06/28 12:25 by manu