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
How to force a snapshot-restore-volume with NetApp Manageability SDK 5.4P1?
2016-02-18
05:38 AM
4,079 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to revert a volume to a snapshot but it fails with the message:
Failed to promote Snapshot copy "foo" because one or more newer Snapshot copies are currently used as a reference Snapshot copy...
But assume I want to do it anyway. On the CLI I can use the option -force. With ONTAPI I can use snapshot-restore-volume but this does not have a force option. How can I force it anyway?
Solved! See The Solution
1 ACCEPTED SOLUTION
Lanes has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It doesn't look like there is a way to force it using the API, at least not one I've found. A potential workaround is to use system-cli to execute the CLI command with the "-force" parameter.
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
1 REPLY 1
Lanes has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It doesn't look like there is a way to force it using the API, at least not one I've found. A potential workaround is to use system-cli to execute the CLI command with the "-force" parameter.
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
