Active IQ Unified Manager Discussions

dfm report volume size

johannes_mitterer
4,149 Views

I am working with DFM for several years now but there is one simple information I never got out of it.

I am looking for the provisioned volume size (which includes the snapshot reserved space).

The CLI equivalent is the "vol size <vol>" command.

Filer> vol size test1

vol size: Flexible volume 'test1' has size 13100g.

I have tried almost all fields available for volumes but I cannot get this number out. 😞

Do you have any idea or hint?

Thanks!

2 REPLIES 2

adaikkap
4,149 Views

Hi,

     dfKBytesTotalVol  will give you what you are looking for, which is basically both volumesize + snap reserve

C:\>dfm volume list 495

ID   Volume Name                          Type         Block Type Deleted  Deleted By

---- ------------------------------------ ------------ ---------- -------- ---------------

495 fas-sim-1:/actualVolumeSize          Flexible     32_bit     No

C:\>dfm detail 495 | findstr /i dfK

dfKBytesActualSize                 0

dfKBytesAfsData                    92

dfKBytesAfsUsed                    92

dfKBytesAvail                      81828

dfKBytesData                       92

dfKBytesPercent                    .112305000424385071

dfKBytesProtected                  0

dfKBytesQuotaCommitted             0

dfKBytesTotal                      81920

dfKBytesTotalVol                   102400

dfKBytesUnprotected                92

dfKBytesUsed                       92

dfKBytesUsedPerDay                 0

pmDfKBytesProjectedSize            0

volDfKBytesAvail                   81828

volDfKBytesTotal                   81920

volDfKBytesUsed                    92

volDfKbytesUsedFromAggr            124

C:\>dfm run cmd 90 vol size actualVolumeSize

Job: 1

Host: fas-sim-1

Command: vol size actualVolumeSize

Status: done

Submitted: Wed Dec 05 21:14:45 2012

Attempts: 1

Login Protocol: rsh

Use RLM Port: No

Started: Wed Dec 05 21:14:45 2012

Completed: Wed Dec 05 21:14:46 2012

Stdout: vol size: Flexible volume 'actualVolumeSize' has size 100m.

C:\>dfm run cmd 90 df -h actualVolumeSize

Job: 1

Host: fas-sim-1

Command: df -h actualVolumeSize

Status: done

Submitted: Wed Dec 05 21:14:58 2012

Attempts: 1

Login Protocol: rsh

Use RLM Port: No

Started: Wed Dec 05 21:14:58 2012

Completed: Wed Dec 05 21:14:59 2012

Stdout: Filesystem               total       used      avail capacity  Mounted on

Stdout: /vol/actualVolumeSize/       80MB       92KB       79MB       0%  /vol/actualVolumeSize/

Stdout: /vol/actualVolumeSize/.snapshot       20MB       32KB       19MB       0%  /vol/actualVolumeSize/.snapshot

C:\>

Regards

adai

johannes_mitterer
4,149 Views

Hi,

Thanks a lot for your reply. This is exactly the number I was looking for.

Is it also possible to add dfKBytesTotalVol as a field to a report?

I have tried this in command line but it is not a valid field.

My goal is to create a report with the volume name and the dfKBytesTotalVol.

Thanks!

Public