Netapp Display / Add More Inodes to a Volume

Обновлено 04.06.2019

Netapp Display / Add More Inodes to a Volume

Everybody welcome on the pages of his blog, and we'll continue to study NetApp. We'll consider how to Display / Add more Inodes to a Volume. It will be very interesting. Once the maximum number of files are increased, it was never possible to reduce it, prior to Data ONTAP 8.0. Starting in Data ONTAP 8.0, You can also decrease the maximum number of public inodes. This does not change the amount of space currently allocated to inodes, but it does lower the maximum amount of space the public inode file can consume. However, after space has been allocated for inodes, it is never returned to the volume. Therefore, lowering the maximum number of inodes below the number of inodes currently allocated does not return the space used by the allocated but unused inodes to the volume.

This Netapp HowTo is useful for the following

  • Netapp Show Inodes
  • Netapp Add Inodes
  • Netapp Display Inodes

Netapp Show Volume Inodes

netapp> maxfiles
Volume vol0: maximum number of files is currently 25876

Netapp Add Inodes to a Volume

To add add inodes to a Vol on Netapp:

netapp> maxfiles vol0 26000

The new maximum number of files specified is more than twice as big as
it needs to be, based on current usage patterns.  This invocation of the
operation on the specified volume will allow disk space consumption for
files to grow up to the new limit depending on your workload. The maxfiles
setting cannot be lowered below the point of any such additional disk space
consumption and any additional disk space consumed can never be reclaimed.
Also, such consumption of additional disk space could result in less
available memory after an upgrade.

The new maximum number of files will be rounded to 25995.

Are you sure you want to change the maximum number of files?

netapp Inodes to a Volume

df -i

netapp df -i

In my example, you can see that volume testvol has Inodes 155533, let's increase this value

Add More Inodes to a Volume

As a result, we get a new value

netapp Add More Inodes to a Volume

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *