deeppat

updated

15 years ago

D

deeppat

2 Intern

•

261 Posts

0

1451

January 11th, 2012 04:00

Generate File system report

Helo All,

I want to run a basic File System report  to know what file systems there are and how much data is in them? I tried  /nas/tools/collect_config but that doesn't help. ( code doesn't support ) .

I am on code : 5.6.46 

NS704 .

Any other way i can generate the report  that i can send to customer . There are over 60 File systems.

Please suggest.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    497

    0

    Posted January 11th, 2012 04:00

    nas_fs -query:tags gets you all the information regarding the fields you need. There are some that begin with a "C" which means its a nested query that hits other tables instead of a single value

    List ALL FILESYSTEMS WITH SIZES:

    nas_fs -query:inuse=y:type=uxfs:isroot=false -fields:ServersNumeric,Id,Name,SizeValues -format:'%s,%s,%s,%s\n'

    List ALL FILESYSTEM QUOTAS ON AN ENTIRE CELERRA:

    nas_fs -query:\* -fields:ID,TreeQuotas -format:'%s:\n%q#\n' -query:\* -fields:FileSystem,Path,BlockHardLimit,BlockSoftLimit,BlockGracePeriod,BlockUsage -format:'%s : %s : %s : %s : %s : %s\n'

    List ALL QUOTAS FOR {FILESYSTEM}:

    nas_fs -query:name={FILESYSTEM} -fields:TreeQuotas -format:'%q' -query:\* -fields:FileSystem,Path,BlockHardLimit,BlockSoftLimit,BlockGracePeriod,BlockUsage -format:'%s : %s : %s : %s : %s : %s\n'

    List all Checkpoint filesystems:

    nas_fs -query:inuse=y:type=ckpt:isroot=false -fields:ServersNumeric,Id,Name,SizeValues -format:'%s,%s,%s,%s\n'


  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    497

    1

    Posted January 11th, 2012 04:00

    server_df ALL