How to enable debug logging on a NetApp NDMP device when NDMP backup fails with Status Code 99 - DUMP: could not create "backup" snapshot : No space left on device.

Article: 100020488
Last Published: 2014-01-20
Ratings: 0 0
Product(s): NetBackup

Problem

How to enable debug logging on a NetApp NDMP device when NDMP backup fails with Status Code 99 - DUMP: could not create "backup" snapshot : No space left on device.

Error Message

Status Code 99 - DUMP: could not create "backup" snapshot : No space left on device.

NDMP Daemon Debug Log from the NetApp Filer:

Error code: NDMP_NO_TAPE_LOADED_ERR
Device name: nrst1a
Mode: 0
IOException: Device cannot be opened. Device may have no tape.
NDMP message type: NDMP_CONNECT_CLOSE

Solution

1. Enable NDMP Debug Logging on the NetApp Filer by running the following commands on the Filer:

ndmpd debug screen
ndmpd debug 70

2. Recreate the issue by running a manual backup job.

3. The following entries may be observed in the ndmpdlog.<date> log file:

Error code: NDMP_NO_TAPE_LOADED_ERR
Device name: nrst1a
Mode: 0
IOException: Device cannot be opened. Device may have no tape.
NDMP message type: NDMP_CONNECT_CLOSE

4. To rule out the fact that the issue is on NetBackup or Backup Exec side of things run a data dump directly to tape from the NetApp Filer.

5. Use the robtest utility from the Robot Control Host (in this scenario the Robot Control Host is the Master Server) to manually mount the tape on nrst1a.
  -> robtest
  -> select the option for the robot  in question - In this case it is TLD(0)
  -> m s# d#
  -> q
  -> select option 2 to exit out of the robtest utility

Note:
m s# d# - will move tape from slot x to drive x

6. After manually mounting the media on the desired drive run the following command from the NetApp Filer to initiate a data dump directly to tape:

dump 0ufb nrst1a 63 /vol/vol1

7. The following error message can be observed on the NetApp Filer:

DUMP: creating "/vol/vol1/../snapshot_for_backup.1231" snapshot.
DUMP: could not create "backup" snapshot : No space left on device.
DUMP: Dump failed to initialize.
DUMP: DUMP IS ABORTED

8. Review the available disk space on volume /vol/vol1.

Note:
There should be at least 20% of available disk space for volumes that are enabled for snapshots. Contact NetApp for minimum requirements.

Was this content helpful?