ONTAP Hardware
ONTAP Hardware
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
Solved! See The Solution
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
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.
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.
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
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?
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
Yes , I faced the same issue your reply helped
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.