ONTAP Discussions

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

Jryan
940 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.

6 REPLIES 6

TMACMD
930 Views

Take a look at snapshots and snapmirror too 

 

snapmirror list-destinations

 might help

Jryan
921 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
891 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
859 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
855 Views

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

Jryan
835 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.

Public