NetWorker: NDMP Data Recovery Fails Due to Halted or ABORTED Savesets

Summary: Restore fails with Already at end of tape and Could not initialize media errors, caused by savesets on a Network Data Management Protocol (NDMP) tape with file numbers not 3 or multiples of 3. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

NetWorker Data Management Protocol (NDMP) restore fails. The nsrndmp_recover output shows the following messages:

nsrndmp_recover:ssid'477171455': NDMP Service Log: RESTORE: Already at the end of tape.
nsrndmp_recover:ssid'477171455': NDMP Service Log: RESTORE: Could not initialize media.
nsrndmp_recover:ssid'477171455': NDMP Service Log: RESTORE: RESTORE IS ABORTED
nsrndmp_recover:ssid'477171455': Data server halted: Error during the restore.
nsrndmp_recover:ssid'477171455': NDMP Service Log: Dump aborted.
nsrndmp_recover:ssid'477171455': Tape server halted: Error during the restore.
nsrndmp_recover:ssid'477171455': NDMP Service Log: MoveletInput: Internal Error.
nsrndmp_recover:ssid'477171455': NDMP data server has an internal error.
nsrndmp_recover:ssid'477171455': Error during File NDMP Extraction.
nsrndmp_recover:ssid'477171455': NDMP recover failed.
nsrndmp_recover:ssid'477171455': Error during NDMP recover
NDMP retrieval: child failed with status of 1

Cause

These errors can appear for several reasons, but in this case the issue is caused by halted or aborted save sets occurring on an NDMP backup tape.

Check the media database entries for the NDMP tape using:

mminfo -q volume=volume-name -r"name,client,ssid,mediafile,mediarec,mediamark"

If there are any save sets on the tape where the file number is not equal to 3 or a multiple of 3, then the normal NDMP recovery results in a failure to recover the data as the normal behavior causes NDMP tapes to automatically position the NDMP tape to file number 3 or a multiple of 3 to begin recovering the data.

Resolution

If the NDMP data save sets file position on the tape is not 3 or a multiple of 3 then the following steps allow the data to be recovered:

  1. Create an empty file in nsr\debug directory called ndmp_auto_pos
  • Linux: /nsr
  • Windows (Default): C:\Program Files\EMC NetWorker\nsr
  1. Stop and restart the NetWorker server services or daemons:
  • Linux: systemctl restart networker
  • Windows (PowerShell): net stop nsrexecd /y ; net start nsrd
    • If the Windows host is also a NetWorker Management Console (NMC) server, you must also start the NMC service: net start gstd
  1. Retry the NDMP recovery
NOTE: When this feature is enabled, the NDMP recover is slower than normal as this instructs NetWorker to read through the tape searching for the beginning of the data rather than automatically positioning at the correct file to start recovering data.


Once the NDMP data has been recovered, remove the ndmp_auto_pos file from the nsr\debug directory and stop and restart the NetWorker server services or daemons so that normal NDMP recovery behavior is restored.

Additional Information

 

 

Affected Products

NetWorker
Article Properties
Article Number: 000097546
Article Type: Solution
Last Modified: 24 آذار 2026
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.