Is there a way to check the total number of user data files in ONTAP volume?
Applies to
- ONTAP 9
- inode
Answer
- No, ONTAP does not provide a standard command to get the exact total number of files in the user data area.
- As an approximation, you can use the number of inodes used in each volume, since each file and directory typically uses one inode.
- The number of inodes used is roughly equal to the sum of files and directories.
- To check the used inodes, use
volume show -fields files-usedordf -i.
