General Discussion

Viewing volume maxdirsize and Directory file size

darraghos
9,174 Views

When maxdirsize is approaching its limit the EMS logs a message to idicate this but refernces a FileID in this message. How to:

 

  • Translate the FileID into a Directory name 
  • View Directory meta (file count etc.) from filer CLI

Using C-Mode 9.x

 

 

1 ACCEPTED SOLUTION

donny_lang
9,087 Views

You can get the file count for a particular volume by running the "volume show <volume> -fields files" command from the ONTAP CLI. 

View solution in original post

3 REPLIES 3

GidonMarcus
9,092 Views

Hi

 

The ID in the EMS message can be translated with "volume show-inode -volume <vol name> -inode <number>" command.

 

i'm not aware of NetApp way to show number of files. and the exact number dosen't matter in relation to this error. it's the size of the index that do (also something i'm not sure how to get).

 

You can get prey fast file count on a folder with the NetApp migration tool (XCP).

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK

donny_lang
9,088 Views

You can get the file count for a particular volume by running the "volume show <volume> -fields files" command from the ONTAP CLI. 

tsilvan
6,302 Views

volume file show-inode -vserver <svm name>  -volume <volumename> -inode-number <file id number>

will tell you which file/path is causing the maxdirsize warning.

Public