NDMP 备份失败,并显示错误 "Write to socket Failed"
适用场景
- ONTAP 9
- 网络数据管理协议(NDMP)
- 数据管理应用程序(DMA)
问题描述
- NDMP备份失败、并显示错误""
Write to socket failed
。
Interrupted system call
Write DIRNET for BKP ID=<ID>, type=3 failed because bkp_out is closing
在中检测到""和"" /mroot/etc/log/backup
。
Log_msg (Write DIRNET for BKP ID=<ID>, type=3 interrupted while at waiting for max inflight. Error = Interrupted system call.)
Log_msg (Write DIRNET for BKP ID=<ID>, type=3 failed because bkp_out is closing.)
ABORT
可以在中/mroot/etc/log/mlog/ndmpd.log
使用debug选项查看正在接收的命令。
示例:
DEBUG: DMA>>S V4 sequence=22 (0x16)
DEBUG: Time_stamp=0x5eb1c253 (May 6 04:45:23 2020)
DEBUG: message type=0 (NDMP4_MESSAGE_REQUEST)
DEBUG: message_code=0x403 (NDMP4_DATA_ABORT)
DEBUG: reply_sequence=0 (0x0)
DEBUG: error_code=0 (NDMP4_NO_ERR)
DEBUG: DATA abort: called
INFO: DATA: received ABORT command (-0:00:10)
INFO: DATA: requesting D-Blade backup ABORT (-0:00:10)
DEBUG: COMMON_State::data_abort: called
DEBUG: C>BKUP (ndmp_client) NDMPD2BR_SESSION_ABORT
DEBUG: sess_handle 0x3d000000005 seq 14 (0xe)
DEBUG: context: mode(C) persona(VSERVER) vfid(0)
DEBUG: Time_Out::Timer 0x807b547c0 1588708216.873794 vs 1588707933.541800 (next 0x0)
DEBUG: Time_Out::next timeout 1588708216.873794
DEBUG: S<BKUP (ndmp_server) BR2NDMPD_LOG_MESSAGE
DEBUG: sess_handle 0x3d000000005 seq 127 (0x7f)
DEBUG: log_type 2 (LOG_TYPE ERROR)
DEBUG: msg (DUMP: Error: Write to socket failed\n)
DEBUG: S>BKUP (ndmp_server) BR2NDMPD_LOG_MESSAGE
DEBUG: COMMON_State::posts_log_message called
DEBUG: DMA<<S V4 sequence=148 (0x94)
DEBUG: Time_stamp=0x5eb1c25d (May 6 04:45:33 2020)
DEBUG: message type=0 (NDMP4_MESSAGE_REQUEST)
DEBUG: message_code=0x603 (NDMP4_LOG_MESSAGE)
DEBUG: reply_sequence=0 (0x0)
DEBUG: error_code=0 (NDMP4_NO_ERR)
DEBUG: log_type=2 (NDMP4_LOG_ERROR)
DEBUG: message_id=16 (0x10)
DEBUG: entry='DUMP: Error: Write to socket failed\n'
- DMA服务器可能会列出较长的等待时间。
2196 1de8 04/16 17:45:10 21916653 stat- NRS [Interval Data Socket][0.76 MBytes/Sec][720235520 Bytes][100.0% (99.9% Wait)][899 Secs (898 Wait Secs)]