2011-03-28 11:35 AM
IHAC who wants to use DFM 4.0.1's chargeback feature. However, they're using a lot of FlexClones. The customer would like the chargeback report to be based on the FlexVols/FlexClones actual *physical* space consumption. For example, as shown in the "aggr show_space" command:
Total space WAFL reserve Snap reserve Usable space BSR NVLOG A-SIS
13GB 1400MB 0KB 12GB 0KB 7036KB
Space allocated to volumes in the aggregate
Volume Allocated Used Guarantee
demo_vol_a 63MB 58MB none # Parent Volume
demo_clone_a1 6428KB 620KB none # FlexClone Volume
demo_clone_a2 6428KB 620KB none # FlexClone Volume
demo_clone_a3 6428KB 620KB none # FlexClone Volume
(truncated for brevity)
Aggregate Allocated Used Avail
Total space 2317MB 952MB 10GB
Snap reserve 0KB 0KB 0KB
WAFL reserve 1400MB 150MB 1249MB
However, DFM reports all FlexClones using *logical* space consumption, not physical. It reports each FlexClone as using the same capacity as its parent volume. In fact, I can't find a single DFM report that shows a FlexClone's actual physical space consumption. Therefore, when they attempt to run a chargeback report each FlexClone volume generates a charge of 1x the parent volume. In reality, each FlexClone's charge should be only a fraction of the parent volume.
Based on this, how can the customer generate chargeback reports based on actual physical capacity used for a FlexVol/FlexClone?
Solved! SEE THE SOLUTION
2011-03-28 10:44 PM
DFM today does not have a report that give the efficency due to usage of clones.
Below is a report that generates the same.Read the readme.doc first to understand what it is and how to install.
2014-03-07 04:17 AM
What an awesome script! Really useful. So basically, it just creates a report then calls some dfm.exe command lines and parses the output based on the logic to find the additional blocks used as outline here: