Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1441

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.

9 Legend

 • 

20.4K Posts

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'


4 Operator

 • 

8.6K Posts

January 11th, 2012 04:00

server_df ALL

No Events found!

Top