ONTAP Discussions

SnapMirror Sync Error

jerinvictor
6,497 Views

Hi All,

 

I am receving the following error when the snapmirror sync operation starts in my simulator.

 

SnapMirror: destination transfer from simulatorclone:snaptest to mirrorvol : Error in snapmirror sync mode negotiation.

 

This is the command that I used to intialize the snapmirror function

 

snapmirror initialize -S simulatorclone:snaptest simulator:mirrorvol

 

The first snap mirror sync was successful. I was able to view the file which was in the source filer in the destination filer.

Unfortunately the subsequent snap sync operations failed with the above error.

 

Also my agreegate gets filled up easily and my sim crashes.

 

Can some one help me on botth of this issues?

 

Thanks,

Jerin

6 REPLIES 6

tirtha
6,497 Views

Hi Jerin,

This error seems to be familiar and there are chances of this being an open bug scenario!!

So i would like you to post some more data regarding ur setup:

1. Which ontap version are u using (dest and source)?

2. Check whether that inspite of this error, updates are taking place or not (do some manual validation in the destination)!!

3. Though ur snapmirror intialization successfuly happened, just do a quick check that ur destination volume is 10Gb and free space is there(sync snapmirror needs that i guess)

Thanks

Tirtha

jerinvictor
6,497 Views

Hi Tirtha,

Thanks for your reply. Please find my answers below.

1. Which ontap version are u using (dest and source)? - NetApp Release 7.3.4

2. Check whether that inspite of this error, updates are taking place or not (do some manual validation in the destination)!! - A second mirror happened after the intital mirror. After this mirroring didn't work and i am receiving this error in the console "SnapMirror: destination transfer from simulatorclone:snaptest to mirrorvol : Error in snapmirror sync mode negotiation."

3.  Though ur snapmirror intialization successfuly happened, just do a  quick check that ur destination volume is 10Gb and free space is  there(sync snapmirror needs that i guess) - My destination vol is of size 9 GB. What i heard is destination vol size should be more or equal to the source volume size.

Thanks,

Jerin

paulhar
6,497 Views

Generally this problem is caused by the way sync snapmirror works.

Async snapmirror uses a pull operation from the destination filer. As long as the destination filer can figure out how to get to the source (e.g. by snapmirror.conf and name resolution) then it works fine.

Sync snapmirror starts by using async snapmirror and then once it is close enough it switches to sync. At that time it goes to a push operation from the source, so the source also needs to be able to figure out how to get to the destination (e.g. name resolution)

My suggestion is that you start by checking your snapmirror.conf configuration to see what naming convention you used, then go to both the source and destination filers and check that you can ping via both hostnames. I suspect you will find that the source is failing to resolve the destination...

FABBAENA76
6,497 Views

Hi.

I don't know if you ever resolved this, but for the sake of leaving my solution here for anyone else to find... here it is.

Modify the file ",serialno" located at the root of the simulation directory of one of the two simulators. The reason it fails, is because it thinks that you are trying to do a sync snapmirror with its cluster node and this is not possible.

Regards

Fabián.

chanaka_ek
6,497 Views

HI There,

I know its been a while this post but I was wondering if you'd be able to elaborate on what you mean by Modify the file ",serialno" located at the root of the simulation directory?

I ahve the same problem and would like to resolve it for some sync SM testing

Cheers

paulhar
6,497 Views

In the 7G sim, if you shut it down and browse into the directory where you type ./runsim.sh file is, you will find there is also a ,serialno file.

Public