Microsoft Virtualization Discussions

df-a/ Get-NaAggr Output Differences

iwhoskin
2,722 Views

Why is there a difference in the kbytes in df -A and Get-NaAggr?

df -A
Aggregate               kbytes       used      avail capacity
aggr1               14525533004 14016688968  508844036      96%
aggr1/.snapshot      764501736          0  764501736       0%
aggr4               12241324100 4992139740 7249184360      41%
aggr4/.snapshot      644280212          0  644280212       0%
aggr5               12241324100 10214288224 2027035876      83%
aggr5/.snapshot      644280212    1789404  642490808       0%

[PS] C:\_scripts>Get-NaAggr

BlockType                   :
ChecksumStatus              : active
ChecksumStyle               : block
DiskCount                   : 71
FilesTotal                  : 31142
FilesUsed                   : 146
IsChecksumEnabled           : True
IsInconsistent              : False
IsSnaplock                  : False
MirrorStatus                : unmirrored
Name                        : aggr1
PlexCount                   : 1
Plexes                      : {/aggr1/plex0}
RaidSize                    : 16
RaidStatus                  : raid_dp
SizeAvailable               : 559047012352
SizePercentageUsed          : 96
SizeTotal                   : 14874145796096
SizeUsed                    : 14315098783744
SnaplockType                :
State                       : online
Type                        : aggr
Uuid                        : 0b00a950-664a-11df-aefe-00a0980fc3be
VolumeCount                 : 1
Volumes                     : {vol1}
SizePercentageUsedSpecified : True

2 REPLIES 2

iwhoskin
2,722 Views

ah, just saw another discussion bits, bytes... got it...

paleon
2,722 Views

The difference is kbytes vs. bytes.  DOT Powershell toolkit returns values in bytes.  "df" returns values in kbytes.

Public