Skip to main content
NetApp Knowledge Base

NDMP or ndmpcopy fails by error "Write to socket failed"

Views:
819
Visibility:
Public
Votes:
3
Category:
ndmp
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 9
  • Network Data Management Protocol (NDMP)
  • Data Management Application (DMA) 

Issue

  • NetBackup NDMP backup fails by error "Write to socket failed".
  • "Interrupted system call" and "Write to socket failed" is detected in /mroot/etc/log/backup.

<VOLUME_PATH> Phase_change (IV)
<VOLUME_PATH>  Log_msg (Write DIRNET for BKP ID=<ID>, type=3 interrupted while at waiting for max inflight. Error = Interrupted system call.)
<VOLUME_PATH>  Error (Write to socket failed)
<VOLUME_PATH>  Tape_close (ndmp)

  • Receiving ABORT command can be seen in /mroot/etc/log/mlog/ndmpd.log with debug option.

eb DEBUG: DMA>>S V4 sequence=10 (0xa)
ec DEBUG: Time_stamp=0x61142838 (Aug 12 04:42:48 2021)
ed DEBUG: message type=0 (NDMP4_MESSAGE_REQUEST)
ee DEBUG: message_code=0x902 (NDMP4_CONNECT_CLOSE)
ef DEBUG: reply_sequence=0 (0x0)
f0 DEBUG: error_code=0 (NDMP4_NO_ERR)
f1 DEBUG: generic_ndmp_dispatch bytes left 0 (pre-body decode)
f2 DEBUG: generic_ndmp_dispatch bytes left 0 (post body decode)
f3 DEBUG: generic_dispatch: action start
f4 DEBUG: free_ndmp_req_request: put on free pool 0x80ad2f340 (0)
f5 DEBUG: service_terminate called
f6 DEBUG: received CLOSE command from [172.30.111.222].30971 
f7 DEBUG: cleanupOnClose: cookie = 0
f8 DEBUG: DATA session_close: called
f9 DEBUG: DATA new_request returns 0x80ac86dc0 (count 1)
fa INFO: DATA: sending backup ABORT 
fb DEBUG: COMMON_State::data_abort: called 
fc DEBUG: MGMT_RPC::client_send: 0x80aa1f7c0 msg 0x7fffffffe558 start 
fd DEBUG: MGMT_RPC::client_send: 0x80aa1f7c0 sending xid 1761411295 (0x68fd00df) default timeout 0 
fe DEBUG: C>BKUP (ndmp_client) NDMPD2BR_SESSION_ABORT

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.

 

  • Was this article helpful?