Sie sind auf Seite 1von 4

Problem

After upgrade of aix to 6.1 master returning status code 98 "not able to mount media"

Solution
After upgrading AIX from 5.3 to 6.1, tapes fail to mount with a status code 98, and /usr/openv/volmgr/bin/scan no longer reports any tape drives. Master server configured with STK library and STK 9940B tape drives. Customer using devices.fcp.tape.stk.rte instead of devices.fcp.tape.rte as device drivers for the tape drives. We don't support STK drivers and there is currently no version of STK drivers that work with AIX 6.1. Remove the device files with:
# rmdev -dl rmt#

Then remove the STK driver:


# installp -u devices.fcp.tape.stk.rte

Finally rebuild the devices with cfgmgr.


# cfgmgr -v

This will return the tape drives to using "Other SCSI Tape" (devices.fcp.tape.rte).

Problem
BUG REPORT: After tape encounters EOM, NDMP backups use the wrong path resulting in status code 98.

Solution
Bug: 1427177 Details: The first media mount uses the correct NDMP path to the drive. After the first media encounters EOM (end of media), the second tape is assigned to mount using the OS device path instead of the NDMP path. Log Files: bptm log: NOTE below that the initial tape is mounted via NDMP path /ndmp:c80t0l0

22:33:18.980 [60] <2> mount_open_media: Waiting for mount of media id 003118 (copy 1) on server serverA. 22:33:18.980 [60] <2> mount_open_media: setting NDMP_TAPE_MOUNT flag for tpreq, SpNum field is -1 22:33:18.980 [60] <4> expandpath: /usr/openv/netbackup/db/media/tpreq/drive_LTO3-0213 22:33:19.036 [60] <2> tapelib: wait_for_ltid, Mount, timeout 0 22:34:15.122 [60] <2> open_ndmp_device: ndmp_drive_name is /ndmp:c80t0l0 EOM occurs: 00:38:58.671 [60] <4> write_backup: successfully wrote backup id client_1233977590, copy 1, fragment 1, 218037771 Kbytes at 29238.891 Kbytes/sec 00:38:58.671 [60] <2>write_backup: tpunmount'ing /usr/openv/netbackup/db/media/tpreq/drive_LTO3-0213 after EOM Next mount is not for NDMP path but rather /dev/rmt/11cbn: 00:39:55.016 [60] <2> mount_open_media: Waiting for mount of media id 002805 (copy 1) on server serverA. 00:39:55.016 [60] <2> mount_open_media: setting NDMP_TAPE_MOUNT flag for tpreq, SpNum field is -1 00:39:55.017 [60] <4> expandpath: /usr/openv/netbackup/db/media/tpreq/drive_LTO3-0213 00:39:55.887 [60] <2> tapelib: wait_for_ltid, Mount, timeout 0 00:40:28.519 [60] <2> open_ndmp_device: ndmp_drive_name is /ndmp:/dev/rmt/11cbn 98 failure due to "cannot open ndmp device": 00:40:28.530 [60] <16> open_ndmp_device: cannot open ndmp device /dev/rmt/11cbn, error code 16 (NDMP_NO_DEVICE_ERR) 00:40:28.818 [60] <8> write_backup: media id 002805 load operation reported an error 00:40:28.818 [60] <2> nbjm_media_request: Passing job control to NBJM, type FAIL/1 00:40:28.818 [60] <2> nbjm_media_request: old_media_id = 002805, media_id = NULL 01:10:37.534 [60] <2> requestFailed: got gotCallback, failure status = [98] 01:10:39.398 [60] <16> RequestSpanResources: MultiResReq.cpp:2556 resource request failed [98] 01:10:41.670 [60] <2> bptm: EXITING with status 98 <----------

/var/adm/messages file: Request to dismount tape: Feb 7 00:39:04 serverA acsd[4881]:[ID 318489 daemon.notice] ACS(1) DismountTape 003118 from 0,2,1,3 Feb 7 00:39:50 serverA acsd[4881]:[ID 180611 daemon.notice] DecodeDismount: ACS(1) driveid 0,2,1,3, Actual status: STATUS_SUCCESS

Request to mount next tape: Feb 7 00:39:55 serverA acsd[4881]:[ID 214310 daemon.notice] ACS(1) MountTape 002805 on drive 0,2,1,3 Feb 7 00:40:27 serverA acsd[4881]:[ID 985697 daemon.notice] DecodeMount: ACS(1) driveid 0,2,1,3, Actual status: STATUS_SUCCESS Failure to mount: Feb 7 00:40:34 serverA acsd[4881]:[ID 794049 daemon.notice] ACS(1) DismountTape 002805 from 0,2,1,3 Feb 7 00:40:34 serverA acsd[22788]:[ID 649459 daemon.notice] ACS(1) open failed in io_open, No such file or directory Feb 7 00:40:34 serverA acsd[22788]:[ID 240766 daemon.notice] ACS(1) could not SCSI release device 11, unable to read linkname of c80t0l0

Problem
BUG REPORT: NDMP backup fails with Status Code 98 "error requesting media (tpreq)" when a second tape is mounted on a non-ndmp drive.

Error
open_ndmp_device: cannot open ndmp device {3,0,5,0}, error code 7 (NDMP_IO_ERR)

Solution
Overview: NDMP backup fails with Status Code 98 when a second tape is mounted on a non-NDMP drive. The can be observed when drives are shared between the Master Server, Media Server and an NDMP filer.

Troubleshooting: Run the following to confirm that the returned values are correct:
<install_path>\NetBackup\bin\admincmd\nbemmcmd -listsettings -machinename master

The may occur even when "DISALLOW_NONNDMP_ON_NDMP_DRIVE" is set to "yes"

Log Files: bptm The condition is witnessed while a backup is running and new media is requested. The media mount switches from an NDMP device to a tape device on the Master Server.
02:36:35.405 [6216.680] <2> open_ndmp_device: ndmp_drive_name is /ndmp:hostname1 02:36:38.046 [6216.680] <2> io_open: file D:\Program Files\Veritas\NetBackup\db\media\tpreq\drive_Drive_0_3_1_3 successfully opened (mode 2) 02:47:04.979 [6216.680] <2> io_close: closing D:\Program Files\Veritas\NetBackup\db\media\tpreq\drive_Drive_0_3_1_3, from bptm.c.21514 02:48:16.979 [6216.680] <2> open_ndmp_device: ndmp_drive_name is /ndmp:hostname2 02:48:18.479 [6216.680] <2> io_open: file D:\Program Files\Veritas\NetBackup\db\media\tpreq\drive_Drive_0_1_1_2 successfully opened (mode 2) 07:30:13.433 [6216.680] <2> io_close: closing D:\Program Files\Veritas\NetBackup\db\media\tpreq\drive_Drive_0_1_1_2, from bptm.c.21514 07:32:23.182 [6216.680] <2> open_ndmp_device: ndmp_drive_name is /ndmp:{3,0,5,0} 07:32:23.370 [6216.680] <16> open_ndmp_device: cannot open ndmp device {3,0,5,0}, error code 7 (NDMP_IO_ERR)

Das könnte Ihnen auch gefallen