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.

Active IQ Unified Manager Discussions

How to remove secondary volume from dataset with nmsdk API?

TYNOVPET_TIETO

I am looking for the way how to remove secondary volume from dataset. I am able to remove volumes/qtrees from primary site with "dataset-remove-member" but I am getting this error for secondary volumes: Error: 'member_name' is not in 'dataset_name':root . Any ideas?

1 ACCEPTED SOLUTION

TYNOVPET_TIETO

my $param = NaElement->new("dataset-member-parameter");

      $param->child_add_string("dp-node-name", 'Backup/Primary Data');

View solution in original post

3 REPLIES 3

TYNOVPET_TIETO

my $param = NaElement->new("dataset-member-parameter");

      $param->child_add_string("dp-node-name", 'Backup/Primary Data');

View solution in original post

kryan

Hi,

I might be missing the point of the question, but have you already attempted to use the CLI?

dfpm dataset relinquish { [ <destination-volume-name-or-id> ] | [ <destination-qtree-name-or-id> ] }

Thanks,

Kevin

TYNOVPET_TIETO

Hi, unfortunatelly, I can't use CLI, but I am trying to do something exactly like: dfpm dataset remove -N 'Backup' dataset_name dataset_member_name(or ID), but with API.

Thanks, Petr

Announcements
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
Public