Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
SDK 5.6 Java on Ontap 9.0P1: file-set-snaplock-retention-time fails
2017-05-03
05:19 AM
2,992 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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
Oliver
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Oliver,
Are you sure the that file-set-snaplock-retention-time is the correct one.
I saw this one exists on SDK
<snaplock-set-file-retention> <file></file> <retention-time></retention-time> <set-infinite-retention></set-infinite-retention> </snaplock-set-file-retention>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.