Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
Hello,
I want to find out how much data is saved through deduplication with volumes on a cmode cluster, and so far I haven't found a cmdlet that'll display properties that'd be displayed if I typed "df -hs" on a 7-mode filer. get-ncvol can show me whether a volume is deduped, but I don't see any other property that I can use to calculate the amount saved. I don't see anything that'd allow me to do that in get-ncvol either. Is there a way to get this info?
Solved! See The Solution
You may be able to find the information you are looking for in the volume sis attributes returned by Get-NcVol:
PS C:\> $vol = Get-NcVol powershell
PS C:\> $vol | fl *
State : online
TotalSize : 429496729600
Used : 28
Available : 308469071872
Dedupe : True
FilesUsed : 180
FilesTotal : 12451833
Aggregate : aggr1
JunctionPath : /powershell
Name : powershell
NcController : 10.61.167.254
Volume64bitUpgradeAttributes :
VolumeAntivirusAttributes : DataONTAP.C.Types.Volume.VolumeAntivirusAttributes
VolumeAutosizeAttributes : DataONTAP.C.Types.Volume.VolumeAutosizeAttributes
VolumeCloneAttributes :
VolumeDirectoryAttributes : DataONTAP.C.Types.Volume.VolumeDirectoryAttributes
VolumeExportAttributes : DataONTAP.C.Types.Volume.VolumeExportAttributes
VolumeFlexcacheAttributes :
VolumeHybridCacheAttributes : DataONTAP.C.Types.Volume.VolumeHybridCacheAttributes
VolumeIdAttributes : DataONTAP.C.Types.Volume.VolumeIdAttributes
VolumeInodeAttributes : DataONTAP.C.Types.Volume.VolumeInodeAttributes
VolumeLanguageAttributes : DataONTAP.C.Types.Volume.VolumeLanguageAttributes
VolumeMirrorAttributes : DataONTAP.C.Types.Volume.VolumeMirrorAttributes
VolumePerformanceAttributes : DataONTAP.C.Types.Volume.VolumePerformanceAttributes
VolumeSecurityAttributes : DataONTAP.C.Types.Volume.VolumeSecurityAttributes
VolumeSisAttributes : DataONTAP.C.Types.Volume.VolumeSisAttributes
VolumeSnapshotAttributes : DataONTAP.C.Types.Volume.VolumeSnapshotAttributes
VolumeSnapshotAutodeleteAttributes : DataONTAP.C.Types.Volume.VolumeSnapshotAutodeleteAttributes
VolumeSpaceAttributes : DataONTAP.C.Types.Volume.VolumeSpaceAttributes
VolumeStateAttributes : DataONTAP.C.Types.Volume.VolumeStateAttributes
VolumeStripingAttributes : DataONTAP.C.Types.Volume.VolumeStripingAttributes
VolumeVmAlignAttributes : DataONTAP.C.Types.Volume.VolumeVmAlignAttributes
Vserver : beam01
PS C:\> $vol.VolumeSisAttributes
CompressionSpaceSaved : 0
DeduplicationSpaceSaved : 495320399872
IsSisLoggingEnabled : False
IsSisVolume : True
NcController : 10.61.167.254
PercentageCompressionSpaceSaved : 0
PercentageDeduplicationSpaceSaved : 83
PercentageTotalSpaceSaved : 83
TotalSpaceSaved : 495320399872
CompressionSpaceSavedSpecified : True
DeduplicationSpaceSavedSpecified : True
IsSisLoggingEnabledSpecified : True
IsSisVolumeSpecified : True
PercentageCompressionSpaceSavedSpecified : True
PercentageDeduplicationSpaceSavedSpecified : True
PercentageTotalSpaceSavedSpecified : True
TotalSpaceSavedSpecified : True
-Steven
I'd like to see this baked into a native cmdlet too. In the meantime, you can get that data using this:
Invoke-Nassh "df -hs"
You may be able to find the information you are looking for in the volume sis attributes returned by Get-NcVol:
PS C:\> $vol = Get-NcVol powershell
PS C:\> $vol | fl *
State : online
TotalSize : 429496729600
Used : 28
Available : 308469071872
Dedupe : True
FilesUsed : 180
FilesTotal : 12451833
Aggregate : aggr1
JunctionPath : /powershell
Name : powershell
NcController : 10.61.167.254
Volume64bitUpgradeAttributes :
VolumeAntivirusAttributes : DataONTAP.C.Types.Volume.VolumeAntivirusAttributes
VolumeAutosizeAttributes : DataONTAP.C.Types.Volume.VolumeAutosizeAttributes
VolumeCloneAttributes :
VolumeDirectoryAttributes : DataONTAP.C.Types.Volume.VolumeDirectoryAttributes
VolumeExportAttributes : DataONTAP.C.Types.Volume.VolumeExportAttributes
VolumeFlexcacheAttributes :
VolumeHybridCacheAttributes : DataONTAP.C.Types.Volume.VolumeHybridCacheAttributes
VolumeIdAttributes : DataONTAP.C.Types.Volume.VolumeIdAttributes
VolumeInodeAttributes : DataONTAP.C.Types.Volume.VolumeInodeAttributes
VolumeLanguageAttributes : DataONTAP.C.Types.Volume.VolumeLanguageAttributes
VolumeMirrorAttributes : DataONTAP.C.Types.Volume.VolumeMirrorAttributes
VolumePerformanceAttributes : DataONTAP.C.Types.Volume.VolumePerformanceAttributes
VolumeSecurityAttributes : DataONTAP.C.Types.Volume.VolumeSecurityAttributes
VolumeSisAttributes : DataONTAP.C.Types.Volume.VolumeSisAttributes
VolumeSnapshotAttributes : DataONTAP.C.Types.Volume.VolumeSnapshotAttributes
VolumeSnapshotAutodeleteAttributes : DataONTAP.C.Types.Volume.VolumeSnapshotAutodeleteAttributes
VolumeSpaceAttributes : DataONTAP.C.Types.Volume.VolumeSpaceAttributes
VolumeStateAttributes : DataONTAP.C.Types.Volume.VolumeStateAttributes
VolumeStripingAttributes : DataONTAP.C.Types.Volume.VolumeStripingAttributes
VolumeVmAlignAttributes : DataONTAP.C.Types.Volume.VolumeVmAlignAttributes
Vserver : beam01
PS C:\> $vol.VolumeSisAttributes
CompressionSpaceSaved : 0
DeduplicationSpaceSaved : 495320399872
IsSisLoggingEnabled : False
IsSisVolume : True
NcController : 10.61.167.254
PercentageCompressionSpaceSaved : 0
PercentageDeduplicationSpaceSaved : 83
PercentageTotalSpaceSaved : 83
TotalSpaceSaved : 495320399872
CompressionSpaceSavedSpecified : True
DeduplicationSpaceSavedSpecified : True
IsSisLoggingEnabledSpecified : True
IsSisVolumeSpecified : True
PercentageCompressionSpaceSavedSpecified : True
PercentageDeduplicationSpaceSavedSpecified : True
PercentageTotalSpaceSavedSpecified : True
TotalSpaceSavedSpecified : True
-Steven
Very helpful. Thanks!
Nice Steve