Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

SDK 5.6 Java on Ontap 9.0P1: file-set-snaplock-retention-time fails



one of my software partners integrates their archiving software with the new Ontap 9.0 and 9.1 and SnapLock.

Using the simulator under 9.1 works well.

However the API  file-set-snaplock-retention-time fails with this error message: netapp.manage.NaAPIFailedException: Read-only file system (errno=13001)


customer system: Ontap 9.0P1, volume with security style unix and access via NFS.


Any idea what's wrong here?


Best regards




It turns out that the API returns the error when you try to set a retention-time that is smaller than the retention-time that is already present on the file.


Hi Oliver,


Are you sure the that file-set-snaplock-retention-time is the correct one.

I saw this one exists on SDK

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner