04-16-2015 04:30 AM
We are trying to restore a file from a tape in which backup was taken on one location say 'A '. Now we want to restore the file from this tape by using the tape in a differnt location say 'B'.
For doing this we initiated import of this Tape on one of the master server( at Location B). But import is failing with error "Cannot Read Media Header, may not be NetBackup media or is corrupted (172)"
Current Netbackup version : 7.6.0.4
Os of the client from which backup was taken : HP UX
Density of tapes were different, we tried chnaging it ,but still the import is failing.
Can someone help me please..!
Please find the error description below.
"
04/16/2015 11:51:17 - begin Import
04/16/2015 11:51:17 - Info bptm (pid=28994) start
04/16/2015 11:51:17 - started process bptm (pid=28994)
04/16/2015 11:51:18 - Info bptm (pid=28994) Waiting for mount of media id G51496 (copy 1) on server gnbm05-nb.
04/16/2015 11:51:18 - started process bptm (pid=28994)
04/16/2015 11:51:18 - mounting G51496
04/16/2015 11:51:18 - Info bptm (pid=28994) INF - Waiting for mount of media id G51496 on server gnbm05-nb for reading.
04/16/2015 11:51:18 - requesting resource G51496
04/16/2015 11:51:18 - granted resource G51496
04/16/2015 11:51:18 - granted resource SL1GL0014
04/16/2015 11:52:29 - mounted G51496; mount time: 0:01:11
04/16/2015 11:52:29 - Error bptm (pid=28994) block read is not a NetBackup or Backup Exec media header, len = 2048, media id G51496, drive index 5, data is unknown
04/16/2015 11:52:29 - Info bptm (pid=28994) EXITING with status 172 <----------
04/16/2015 11:52:29 - Error bpimport (pid=28985) Status = cannot read media header, may not be NetBackup media or is corrupted.
04/16/2015 11:52:29 - end Import; elapsed time 0:01:12
cannot read media header, may not be NetBackup media or is corrupted (172)
"
Solved! Go to Solution.
04-16-2015 04:40 AM
04/16/2015 11:52:29 - Error bpimport (pid=28985) Status = cannot read media header, may not be NetBackup media or is corrupted.
does Netbackup is being used in the source side (location A) to write the data on tape?
what are the LTO type in both source and destination for tape and Drives?
04-16-2015 05:43 AM
Also try Netbackup command
scsi_command -map -f /dev/nst???
Post the output from scsi_command. You may have to manual mount the tape first using tpreq
See how in :
How to read a tape header to verify the recorded volume serial number
http://www.symantec.com/docs/TECH8781
04-16-2015 04:40 AM
04/16/2015 11:52:29 - Error bpimport (pid=28985) Status = cannot read media header, may not be NetBackup media or is corrupted.
does Netbackup is being used in the source side (location A) to write the data on tape?
what are the LTO type in both source and destination for tape and Drives?
04-16-2015 05:05 AM
Your problem is not with media density, but with the driver of the media server where you are trying to import the tape not recognizing the media header.
Was the HP-UX client on the source site also the media server?
If not, which OS on source media server?
NBU version of source media server?
What was the make/model of the tape drive at source site?
Make/model of tape drive at current site?
04-16-2015 05:32 AM
Is encryption used - either hardware or software based ?
04-16-2015 05:43 AM
Also try Netbackup command
scsi_command -map -f /dev/nst???
Post the output from scsi_command. You may have to manual mount the tape first using tpreq
See how in :
How to read a tape header to verify the recorded volume serial number
http://www.symantec.com/docs/TECH8781
04-16-2015 05:56 AM
Or put the tape in the drive using robtest, rewind it and run
od -c /dev/nstX (where /dev/nstX is the path to the drive with the tape in)