Does Trident support configuring inodes on volume creation and expansion?
Applies to
- Astra Trident 21.07 or higher
- ONTAP 9.13 or later
Answer
Trident does not support configuring inodes.
As alternative, these methods can be used to manage inodes:
- Resize the volume. As volumes are thin provisioned by default, this doesn't consume any extra space.
- Use the flexgroup driver. A flexgroup is backed by multiple volumes on the backend storage, which will make it more difficult to hit the inode limit.
- Use ontap-san drivers (and therefore iSCSI). Billions of small files lead to a lot of performance overhead with metadata operations (file creation, access timestamps, ownership & permissions,...), which all have to go across the network with a remote filesystem such as NFS. These operations are local operations on block storage and therefore can be faster in such scenarios. Utilizing block storage also allows for local control over inodes.
- Set a larger snapshot reserve in Trident config. This increases the size of the ONTAP volume vs. the actual size of the PVC, giving you more inodes. As volumes are thin provisioned by default, this also doesn't consume any extra space.
Additional Information
- ONTAP automatically manages the maximum number of public inodes as described in Considerations for changing the maximum number of files allowed on a FlexVol volume
-files
option of ONTAP volume modify command manages the number of inode