Hi,
Is there any alternative ways(CLI, RVC) to get how much dedup & compression space saving WITHOUT vCenter?
thanks!
Please find the link below which has few scripts, using which you should he able to get how much Deduplication and Compression space.
Solved: Monitoring Storage Data Efficiency - NetApp Community
Hello there,
If you have CLI access then you can run following command (one-liner) to print the per disk deduplication information. It actually gives inflation but you can ignore that.
localcli vsan storage list | grep 'Group UUID:' | awk '{print $5}'| sort | uniq | while read cache; do dgTotalInflate=''; echo -en "\nCache Tier Disk: $cache\n"; localcli vsan storage list | grep -B1 "Group UUID: $cache"| grep "VSAN UUID:"| awk '{print $3}' | grep -v $cache | while read cap; do diskLogUsed=$(cmmds-tool find -f json -t DISK_STATUS -u $cap | grep content | awk '{print $37}' | sed -e 's/[\t\n\r,]//g'); diskPhysUsed=$(cmmds-tool find -fjson -t DISK_USAGE -u $cap | grep content | awk '{print $19}' | sed -e 's/[\t\n\r,]//g'); dedupRatio=$( awk "BEGIN{ print "$diskLogUsed" / "$diskPhysUsed" }"); dgTotalInflate=$(awk "BEGIN{ print "$dgTotalInflate" + "$diskLogUsed"}"); echo -en " Capacity Disk: $cap : Dedup Ratio ${dedupRatio}x\n"; dgTotalInflateGB=$(awk "BEGIN{ print "$dgTotalInflate" / 1073741824 * 1.25}"); echo "$dgTotalInflateGB" > /tmp/dgtigb.txt; done; echo -en " Total Expected Space Inflation: $(cat /tmp/dgtigb.txt)GB\n" ; done