Active IQ Unified Manager Discussions

FSRM Filetype Report

matthewemery
4,993 Views

Hi,

I am supporting a customer that wants a report of filetypes, eg .mp3, listed by directory and size.

ie, a .csv or .xls report run against a share, listing every directory in that share that has mp3 files in it.

Is that possible to create?

I have tried, but cant see a way to do it.

Cheers

Matt.

1 ACCEPTED SOLUTION

prasads
4,993 Views

Hi Matt,

You can indirectly acheive what you want.

1.Set the max no. of largest files to a large value(max in DFM is 100,000)

     dfm option set srmLargestFiles=100000

2. Re-run the FSRM file walk

3. Run 'srm-files-largest' report against the FSRM path & grep for .mp3

     dfm report srm-files-largest 1231 | grep .mp3

     (here - 1231 is the id of the fsrm path)

Let me know if this is helpful.

Regards,

Prasad S

View solution in original post

4 REPLIES 4

prasads
4,994 Views

Hi Matt,

You can indirectly acheive what you want.

1.Set the max no. of largest files to a large value(max in DFM is 100,000)

     dfm option set srmLargestFiles=100000

2. Re-run the FSRM file walk

3. Run 'srm-files-largest' report against the FSRM path & grep for .mp3

     dfm report srm-files-largest 1231 | grep .mp3

     (here - 1231 is the id of the fsrm path)

Let me know if this is helpful.

Regards,

Prasad S

matthewemery
4,993 Views

Thanks Prasad,

That did the trick.

A pity its not default behaviour, but no problems.

Thanks again,

Matt.

jeras
4,993 Views

Is the 100,000 max value for max no. of largest files valid for Operations Manager 3.7?

The Operations Manager 3.7 GUI and CLI do not specify a limit if I set the value to, for example, 250,000.  For example if I enter dfm option set srmLargestFiles=250000 or change this value in the SRM section of the Options GUI, the 250,000 value is accepted as a valid value with no warning or error message.

Thanks!

Ken

prasads
4,993 Views

Hi Ken

Is the 100,000 max value for max no. of largest files valid for Operations Manager 3.7?

Yes, 100,000 is the limit.

>... value is accepted as a valid value with no warning or error message.

This is a bug. See BURT 313293

http://burtweb.eng.netapp.com:8080/burt-bin/start?burt-id=313293&button=view&google_text=&sel_report=&report=&report_user=prasads&fz=53&mode=owner#Des...

Regards,

Prasad S

Public