Tape library drives are offline with a 'NDMP_DEVICE_BUSY_ERR' error message.
NetVault Backup Environment Details...
NetVault Server: 9.0.1 Windows 2003 R2
Plugin: NDMP 7.6.11 with the NDMP 5.7.5 Consolidation Patch.
Filer: NetApp OnTap 8.1
Backup Device: Spectra T50e tape library with 12.6 Blue Firmware attached to the Filer via FC.
SANSurfer installed and setup for FC persistent bindings.
The tape library drives serial numbers in NetVault Device Management were compared with the tape library web interface drives section to make sure they were correct i.e. the drive order added to NetVault Device Management was correct. If the drive order is incorrect, then media/device/backup issues will occur.
The drives in this instance were in the correct order and persistent bindings were working as expected.
The following errors were within the NetVault logs:
With sub text:
NDMPTAPE:02736 44 2 84423 TapeOpen: body error: NDMP_DEVICE_BUSY_ERR
TAPESCSI:02736 54 0 84423 Check Media (END)
DEVMGR :02736 91 0 84423 Check Media returned 270
DEVMGR :02736 522 0 84423 Could not find media in drive 270
NDMPTAPE:02756 44 2 84423 TapeOpen: body error: NDMP_DEVICE_BUSY_ERR
TAPESCSI:02756 54 0 84423 Check Media (END)
DEVMGR :02756 91 0 84423 Check Media returned 270
DEVMGR :02756 522 0 84423 Could not find media in drive 270
The “NDMP_DEVICE_BUSY_ERR” error message can occur due to one or more of the following reasons:
A] Media movement issues within the tape library i.e. hardware problems.
B] Adding/removing media incorrectly i.e via the tape library directly. As NetVault Backup needs 100% control over its backup devices, you need to "tell" NetVault Backup what you are intending to do with the media, otherwise the NVDB won't be in sync with the tape library inventory. Please make sure that you add/remove media in the following way:
-NetVault Device Management.
-Right click on the tape library arm and select Open Door.
-Go to the tape library and add/remove the media and wait until the tape library has finished scanning its media via the tape library screen or web interface.
-Right click on the tape library arm and select Door Closed.
C] Lingering NDMP session, which can be killed by running the following commands on the filer itself (you can run these commands whenever you have any device/backup issues):
D] Some hardware/firmware/cable changes were made on the Filer/tape library/FC Cards and therefore the NDMP Channel was lost. Please make sure you remove the tape library from NetVault Device Management, reboot the NetVault Server and re-add the tape library with the same device name and configuration settings as before. So the SCSI Protocol Communication Channel is re-established again.
E] If the Operating System cannot see the devices, NetVault Backup won’t either and therefore will display the tape library/drives as offline. Run the following commands on the Filer to make sure that the Filer OS can see all devices (If the Filer cannot see the tape library changer and/or drives, then further investigation with the hardware vendor is needed):
storage show tape
storage show mc
storage show adapter
Note: You will still need to perform the steps in the following KBA to make sure that cleaning media is setup correctly (if you had setup cleaning before removing the device), as NetVault needs to have 100% control over backup/media devices: