ONTAP Discussions

Can't delete SVM due to Verserver DR lock on CIFS service.

Jryan
4,090 Views

I am trying to do a clean up of a SM destination Vserver  DR SVM, and I have deleted the Peer relationship and volumes, and confirmed there is nothing listed for Transition.

 

However, this vserver DR was created on a CIFS SVM, and the SMB still can't be disabled becuase it says there is an active Verser DR relationship.

vserver peer show, vserver  list-destinations, and vserver peer transitions show all show nothing for the SVM.

So at this point it appears that the CIFS server is locking the vserver, but I am having trouble finding where to disable this relationship.  I would have assumed that deleting the peer relationship would have done it, but apparently not.

7 REPLIES 7

TMACMD
4,076 Views

Take a look at snapshots and snapmirror too 

 

snapmirror list-destinations

 might help

Jryan
4,067 Views

Yeah, I checked that.  No SM snapshots, not destination listed for the SVM in question.  The only volume left is the system volume, and I can't delete that either, and it won't let me turn off the CIFS service because it is locked by the Vserver DR peer relationship that doesn't exist anymore.

Reverett
4,037 Views

Hello,

 

It sounds like you are running into the issue described in the below kb:

https://mysupport.netapp.com/site/article?lang=en&page=%2FAdvice_and_Troubleshooting%2FData_Storage_Software%2FONTAP_OS%2FCannot_delete_SVM_due_to_exi...

 

Could you provide the exact error seen when trying to delete the svm and when you try to stop the cifs server?

 

To troubleshoot this issue live I would suggest opening a support case with NetApp support.

 

Jryan
4,005 Views

Thank you for your response, but that isn't the issue I am having.

 

I'm running on a secure, air gapped system, so I'll have to recreate the error after sanitizing it.

 

The issue with deleting the vserver is really secondary at this point becaus e the CIFS server instance is locked by a SVM mirror relationship that has been deleted.

Once I clear the CIFS server instance for deletion, bypassing the erroneous SMV mirror lock, I expect I will be able to delete the SVM... but as of right not I can't make changes to the CIFS server instance because it thinks it is part of a vserver DR mirror that no longer exists.

cruxrealm
4,001 Views

What is the output of this command (must be run on the source)   "snapmirror list-destinations"

Jryan
3,981 Views

On the source cluster I get the 4 mirrored volumes that run to the 2 good SVM destinations and no mirrors to the problematic destination SVM.

MauriceSchreiber
2,220 Views

Thanks. 

Using -force-account-delete true failed, but providing a wrong username and password and proceeding anyway, worked.

 

Public