NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Powershell Snapmirror error: could not read from socket

cdtinfrastructure
4,168 Views

Hello

I ran into the above error having run the following command form Powershell:  invoke-NaSnapMirrorInitialize fas_source:m_volnew fas_source:volnew

In the end I created the SnapMirror Relationship with the Netapp OnCommand System and then reran the same command from Powershell and it worked.

My questions is:

Is the Invoke-NaSnapMirror Initialize command not supposed to create the snapmirror relationship?

If not how can it be done with the Powershell Toolkit for NetApp

Regards

Dermot C

2 REPLIES 2

billyd
4,168 Views

The command you used is correct and worked for me with my tests.  I tried to replicate your problem and wasn't successful.  Have you tried to create a new relationship after you found out OnCommand works properly?

cdtinfrastructure
4,168 Views

Hi

Yes I have tried but to no avail.

I still get the same error message

Regards

Public