Avamar: Generic NDMP Protocol Error Codes
Zusammenfassung: This article discusses several of the many error codes that may occur during a Network Data Management Protocol (NDMP) backup.
Symptome
Network Data Management Protocol (NDMP) is a protocol used to control data backup and recovery communications between primary and secondary storage in a heterogeneous network environment. This article lists common NDMP error codes and messages that may be encountered during NDMP operations on Network Attached Storage (NAS) hardware. These error codes do not come from the backup application, but are from the NDMP protocol directly. They may appear in backup logs but are messages that are sent from the NAS to the backup solution over the NDMP protocol.
NDMP Error Codes and Descriptions
| Code | Description |
|---|---|
NDMP_DEVICE_BUSY_ERR |
The specified drive or hardware is already in use. |
NDMP_DEVICE_OPENED_ERR |
NDMP is attempting to open more connections than are allowed. |
NDMP_NOT_AUTHORIZED_ERR |
This error is returned if an NDMP request is issued before the connection has been authenticated. |
NDMP_PERMISSIONS_ERR |
The connection has been authenticated, but the credentials used lack the necessary permissions. |
NDMP_DEV_NOT_OPEN_ERR |
An attempt was made to access the NDMP protocol without first opening a connection to it. |
NDMP_IO_ERR |
A drive has returned an input or output (I/O) error when attempting to read or write to or from the NAS. |
NDMP_TIMEOUT_ERR |
The current operation has timed out. |
NDMP_ILLEGAL_ARGS_ERR |
The request contains an illegal argument. |
NDMP_NO_TAPE_LOADED_ERR |
There is no tape in the drive. |
NDMP_WRITE_PROTECT_ERR |
The NAS hardware or drive is write protected. |
NDMP_EOF_ERR |
An unexpected end of the file was encountered. |
NDMP_EOM_ERR |
The tape or destination drive has run out of space (the End of Media Mark was encountered). |
NDMP_FILE_NOT_FOUND_ERR |
The requested file was not found. |
NDMP_BAD_FILE_ERR |
A bad file descriptor generated an error. |
NDMP_NO_DEVICE_ERR |
A request was made to a tape drive that does not exist. |
NDMP_NO_BUS_ERR |
The specified SCSI bus cannot be found. |
NDMP_NOT_SUPPORTED_ERR |
Either the NDMP protocol is not supported, or only a subset of the protocol is supported. |
NDMP_XDR_DECODE_ERR |
A message cannot be decoded. |
NDMP_ILLEGAL_STATE_ERR |
A request cannot be processed in its current state. |
NDMP_UNDEFINED_ERR |
A nonspecific error has occurred. |
NDMP_XDR_ENCODE_ERR |
There was an error encoding a reply message. |
NDMP_NO_MEM_ERR |
There was an error due to memory allocation on the NAS hardware. |
NDMP_DATA_HALT_INTERNAL_ERROR |
Error signifies that an internal NAS issue caused the data operation to unexpectedly stop. |
Ursache
The NDMP service running on the NAS hardware generates the NDMP error codes listed above. These errors indicate various issues that can occur during the backup or recovery process. For example, when an NDMP operation on NAS hardware fails with the error code NDMP_NO_MEM_ERR, it indicates that the NDMP service encountered a memory allocation error. This could be due to insufficient system resources or memory leaks within the NDMP service on the NAS device.
Lösung
If you encounter an NDMP error, follow these steps:
- See the error code descriptions to understand the nature of the issue.
- Perform initial troubleshooting based on the error code received.
- If the issue persists, contact the vendor of your NAS device for further assistance.
The hardware vendor’s support team has the necessary expertise and resources to help resolve the issue.