Skip to main content
NetApp Knowledge Base

What is an inode?

Views:
17,507
Visibility:
Public
Votes:
21
Category:
ontap-9
Specialty:
Core
Last Updated:

Applies to

  • ONTAP
  • Inode

Answer

An inode in ONTAP is a pointer to any file or folder within the file system, including Snapshot copies.

  • The number of files a volume can contain is determined by how many inodes it has.
  • Inodes point to blocks that make up a file, and inodes also contain the metadata of the file.
  • Volumes have both private and public inodes.
    • Public inodes are used for files that are visible to the user;
    • Private inodes are used for files that are used internally by ONTAP.
    • You can change only the maximum number of public inodes for a volume. You cannot affect the number of private inodes.
  • Each inode uses 288 bytes of capacity
    • This means that having many inodes in a volume can also use up a non-trivial amount of physical space in addition to the capacity of the actual data as well.
    • If a file is less than 64 bytes, it is stored in the inode itself and does not use additional capacity.
  • Each FlexVol volume has a finite number of inodes and has an absolute maximum of 2,040,109,451. 
  • The space used by the Inode files counts against the 10% aggregate reserve in ONTAP.

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.