NDMP backup with Netbackup is failing with media write error 84
Applies to
- ONTAP 9
- NDMP
- Backup to tape
- Netbackup
Issue
NDMP backup jobs are failing on the backup application with status: 84: media write error even after the NDMP logs shows backup completed successfully
Backup.log
:
Jun 4, 2021 7:29:51 PM - Info ndmpagent (pid=16777) Client_Name: DUMP: dumping (Pass V) [ACLs]
Jun 4, 2021 7:29:51 PM - Info ndmpagent (pid=16777) Client_Name: DUMP: DUMP IS DONE
Jun 4, 2021 7:29:56 PM - Info ndmpagent (pid=16777) Client_Name: DUMP: Deleting "/SVM_Name/Volume_name/../snapshot_for_backup.1227" snapshot.
Jun 4, 2021 7:30:00 PM - Info ndmpagent (pid=16777) NDMP backup successfully completed, path = /SVM_Name/Volume_name/
- Backup application log:
netbackup_job-pid16777_detail
Jun 4, 2021 7:30:00 PM - Info ndmpagent (pid=16777) 26132 entries sent to bpdbm
Jun 4, 2021 7:32:35 PM - Error bptm (pid=2792) socket operation failed - 10054 (at ../bptm.c.25949)
Jun 4, 2021 7:32:35 PM - Info ndmpagent (pid=16777) Client_Name: Session identifier for Mover : 51786
Jun 4, 2021 7:32:47 PM - Info bptm (pid=2792) WriteFile() failed err = 0
Jun 4, 2021 7:32:47 PM - Error bptm (pid=2792) write error on media id 000609, drive index 0, writing header block, 0
Jun 4, 2021 7:32:47 PM - Warning bptm (pid=2792) SUSPENDED media id 000609, backup completed, but could not successfully terminate media
Jun 4, 2021 7:32:47 PM - Error ndmpagent (pid=16777) Client_Name: BACKUP: Error: job aborted
Jun 4, 2021 7:32:47 PM - Error ndmpagent (pid=16777) Client_Name: BACKUP: Error: BACKUP_NET IS ABORTED
Jun 4, 2021 7:32:47 PM - Info ndmpagent (pid=16777) Client_Name: MOVER: Tape writing operation terminated
Jun 4, 2021 7:32:52 PM - Info bptm (pid=2792) EXITING with status 84 <----------
Jun 4, 2021 7:32:53 PM - Critical bpbrm (pid=16216) unexpected termination of client Client_Name
Jun 4, 2021 7:32:53 PM - Info ndmpagent (pid=0) done. status: 84: media write error