How to enable debug logging on a NetApp NDMP device

Article:TECH180272  |  Created: 2012-01-31  |  Updated: 2013-10-26  |  Article URL http://www.symantec.com/docs/TECH180272
Article Type
Technical Solution


Environment

Subject

Issue



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


Error



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 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. Please contact NetApp for minimum requirements.




Legacy ID



321198


Article URL http://www.symantec.com/docs/TECH180272


Terms of use for this information are found in Legal Notices