Software Development Kit (SDK) and API Discussions

changing inode using api on c-mode and 7-mode

Daredia
2,082 Views

Is there a "how to" guide for 7 mode/C mode to change the inode number on a volume using ONTAP API

1 REPLY 1

mbeattie
2,057 Views

Hi Shaun,

 

Does this help?

 

https://kb.netapp.com/support/s/article/ka31A000000135pQAA/how-to-increase-the-maximum-number-of-volume-inodes-or-files

 

7-Mode:

SYNTAX
    Set-NaVolTotalFiles [-Name] <String> [-Controller <NaController>] [-TotalFiles] <Int32> [-Force] [<CommonParameters>]

API: volume-set-total-files


Clustered Data ONTAP:

 

SYNTAX
    Set-NcVolTotalFiles [-Name] <String> [-VserverContext <String>] [-Controller <NcController[]>] [-TotalFiles] <Int32> [-Force] [-ZapiRetryCount <Int32>] [<CommonParameters>]

API: volume-set-total-files

It's also possible to invoke the API instead of using a PowerShell cmdlet to invoke it. Do you have any specific requirement?

 

Please let me know if you have any questions.

 

/Matt

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public