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');

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.

Public