ONTAP Hardware

snapmirror error could not read from socket (error 13102)

soper_2010
17,147 Views

Hi!

i have faced a problem with snappmirror.

we have 2 x fas2020 ontap 7.3.3, and snapmirror working fine in both directions

we have bought one FAS2240-2 and one Fas 2240-4 v.8.1.1.7 and snapmirror working fine in both directions

But when i set up a snapmirror from one fas2020 as source to a Fas2240-4 i got the error:

snapmirror error could not read from socket (error 13102)

snapmirror.src.sockErr     Access denied for SnapMirror/SnapVault destination.

i looked at the host files and se there are no missmatch.

the options look like:

san1 (FAS2020)san2 (FAS2020)san4 (FAS2240-4)

snapmirror.access            host=san2

snapmirror.checkip.enable    on

snapmirror.delayed_acks.enable on

snapmirror.enable            on

snapmirror.log.enable        on

snapmirror.readahead         0

snapmirror.readahead_freq    0

snapmirror.vbn_log_enable    off

snapvalidator.version        9

snapmirror.access            host=san1

snapmirror.checkip.enable    on

snapmirror.delayed_acks.enable on

snapmirror.enable            on

snapmirror.log.enable        on

snapmirror.readahead         0

snapmirror.readahead_freq    0

snapmirror.vbn_log_enable    off

snapvalidator.version        9

snapmirror.access            legacy (but if i set to lhost=san1 the result is the same)

snapmirror.checkip.enable    off

snapmirror.delayed_acks.enable on

snapmirror.enable            on

snapmirror.log.enable        on

snapmirror.vbn_log_enable    off

snapmirror.volume.local_nwk_bypass.enable on

snapmirror.vsm.volread.smtape_enable on

snapvalidator.version        9

san4> snapmirror status

Snapmirror is on.

Source                     Destination                      State          Lag        Status

san1:Test_for_cifs    san4:test_second_snap  Uninitialized  -          Idle

san1 have a snapmirror.allow file and it look like:

san2

10.10.10.20

................

san2 have no snapmirror.allow file

............

san4 have no snapmirror.allow file.

Anyone have any idea what can be wrong?

Regards

Soran

1 ACCEPTED SOLUTION

soper_2010
16,980 Views

Thanks again!

I solved it, changed options snapmirror.access to  legacy and it solved the problem.

The host file was correct and the dest.filer were defined in  snapmirror.allow

Soran

View solution in original post

7 REPLIES 7

bsti
16,978 Views

SAN4 needs to be in the snapmirror.allow file for SAN1.  Unless SAN4's IP is 10.10.10.20, then you will get the error your describe.

soper_2010
16,978 Views

Thanks for answer!

now i put san4 to the snapmirror.allow file for SAN1 so it look as shown now! becouse i need both san2 and san4 to be able to sync the data with san1. the content of file was :

san2

10.10.10.20

and i put san4 int´a new line so it become:

san2

10.10.10.20

san4

10.10.10.44

and the result is the same, and get the same error.

bsti
16,978 Views

Just to be certain, I don't think you want host names in your snapmirror.allow unless they are defined in your /etc/hosts.  Try this just to make sure:

SAN1 snapmirror.allow:

10.10.10.20  #  Assuming this is for SAN2

10.10.10.44  #  Assuming this is for SAN4

bsti
16,978 Views

Another question:  Do you have any firewalls or routers between SAN1 and SAN4?  Can you verify something in the middle isn't stopping SM traffic between the two?

soper_2010
16,981 Views

Thanks again!

I solved it, changed options snapmirror.access to  legacy and it solved the problem.

The host file was correct and the dest.filer were defined in  snapmirror.allow

Soran

pradkur
16,978 Views

Yes , I faced the same issue your reply helped

Saranraj89
12,764 Views

Hi All,

 

The same problem happens for me to initialize the new snapmirror relationship b/w two controllers ,but its not working the same error could not read from socket......any one came accross from this issue before.

Public