similar to bug 354919,
i need to remove the stale record-owner for that snapshot.
the command for remove the record-owner report no error, but it doesn't remove the record owner.
very very very strange to haven't output errors from the command !!!!!!!!
if i use a wrong record-owner ,an error was reported.
i'm forced to remove the snapshot using -ignore-owners true.
no other way...
NETAPP::*> snap show vol_svm_vm_nfs_ora_esb_prod_data -fields owner,record-owner vserver volume snapshot owners record-owner
---------- -------------------------------- ----------------------------- ------ ------------
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data snapshot_20170406_preRilascio - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Sat_20180825235502 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Wed_20180829235503 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180830235500 - snapmirrorDP.a57f434717efe411b30d00a0987d2e91_2147485219.dstOwned
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Sun_20180909235500 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180913100034 - snapmirrorDP.a57f434717efe411b30d00a0987d2e91_2147485219.base
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180913155823 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data snapmirror.5eae4a4f-ef1d-11e4-86f2-00a09862e6b5_2151289987.2018-09-14_050000 - snapmirrorDP.4f4aae5e1defe41186f200a09862e6b5_2151289987.base
8 entries were displayed.
NETAPP::*> snap remove-owner -vserver svm_vm_nfs -volume vol_svm_vm_nfs_ora_esb_prod_data -snapshot vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180830235500 -owner trump
Error: command failed: Snapshot copy vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180830235500 of volume "vol_svm_vm_nfs_ora_esb_prod_data" on Vserver "svm_vm_nfs" is not owned by "trump".
NETAPP::*> snap remove-owner -vserver svm_vm_nfs -volume vol_svm_vm_nfs_ora_esb_prod_data -snapshot vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180830235500 -owner snapmirrorDP.a57f434717efe411b30d00a0987d2e91_2147485219.dstOwned
NETAPP::*> snap show vol_svm_vm_nfs_ora_esb_prod_data -fields owner,record-owner vserver volume snapshot owners record-owner
---------- -------------------------------- ----------------------------- ------ ------------
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Sat_20180825235502 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Wed_20180829235503 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180830235500 - snapmirrorDP.a57f434717efe411b30d00a0987d2e91_2147485219.dstOwned
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Sun_20180909235500 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180913100034 - snapmirrorDP.a57f434717efe411b30d00a0987d2e91_2147485219.base
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data vol_svm_vm_nfs_ora_esb_prod_data_ESUB_PRD_Thu_20180913155823 - -
svm_vm_nfs vol_svm_vm_nfs_ora_esb_prod_data snapmirror.5eae4a4f-ef1d-11e4-86f2-00a09862e6b5_2151289987.2018-09-14_050000 - snapmirrorDP.4f4aae5e1defe41186f200a09862e6b5_2151289987.base
8 entries were displayed.