11-13-2013 11:47 AM
Hello!
I have installed NetBackup 7.5 on a Solaris server.
The tape library is a STK SL48.
I'm creating a Backup Offsite policy (without Vault licency).
I can make a backup and manualy take out the tape, but I can't import that same tape to library.
NetBackup give me the next log:
11/13/2013 15:19:38 - begin Import
11/13/2013 15:19:38 - Info bptm (pid=24811) start
11/13/2013 15:19:38 - started process bptm (pid=24811)
11/13/2013 15:19:38 - Info bptm (pid=24811) Waiting for mount of media id 0034L5 (copy 1) on server nbuserver.afascl.coop.
11/13/2013 15:19:38 - started process bptm (pid=24811)
11/13/2013 15:19:38 - mounting 0034L5
11/13/2013 15:19:38 - Info bptm (pid=24811) INF - Waiting for mount of media id 0034L5 on server nbuserver.afascl.coop for reading.
11/13/2013 15:19:38 - requesting resource 0034L5
11/13/2013 15:19:38 - granted resource 0034L5
11/13/2013 15:19:38 - granted resource HP.ULTRIUM5-SCSI.000
11/13/2013 15:20:55 - mounted 0034L5; mount time: 0:01:17
11/13/2013 15:20:55 - Error bptm (pid=24811) read error on media id 0034L5, drive index 0, reading header block, I/O error
11/13/2013 15:20:55 - Info bptm (pid=24811) EXITING with status 85 <----------
11/13/2013 15:20:55 - Error bpimport (pid=24807) Status = media read error.
11/13/2013 15:20:55 - end Import; elapsed time 0:01:17
media read error (85)
How I solve this problem?
11-15-2013 11:08 AM
11-15-2013 12:30 PM
OK, just tested the above to be sure ...
This is what you should see ... this was the result from running the command x3 times.
The first shows the tape header
The second shows the tape mark, between the headers
The third shows the backup header
root@womble $ mt -f /dev/rmt/0cbn rew
11-15-2013 01:04 PM
mph999, I paste you the output:
user@server # mt -f /dev/rmt/0cbn rew
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
00000001+0 records in
1+0 records out
V O L 1 0 0 3 1 L 5 \0 \0 \0 \0 \0 \0
0000020 \0 \0 \0 \0 \0 \0 \0 001 \0 \0 \0 016 \0 \0 \0 \0
0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000100 \0 \0 \0 \0 \0 \0 \0 020 \0 \0 004 \0 \0 \0 \0 \0
0000120 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000160 T h I s I s A B P t A p
0000200 E h E a D e r \0 \0 \0 \0 \0 \0 \0 \0
0000220 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0002000
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
0000000
0+0 records in
0+0 records out
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
read: I/O error
0+0 records in
0+0 records out
0000000
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
0000000
0+0 records in
0+0 records out
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
0000000
0+0 records in
0+0 records out
root@nbuserver #
Thanks.
11-15-2013 01:47 PM
11-19-2013 06:36 AM
Thank Martin.
This backup aren't important. I only made a proube before to do a backup offsite in the important servers.
I'll repit the test, but checking the tapes media before and after remove the tape media from the library.
I'll put you the results.
Thanks.
11-20-2013 06:40 AM
Hello Martin (mph999).
Now I can make the test. The backup and restore was successfully.
I give you the check's output:
user@server # mt -f /dev/rmt/0cbn rew
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
00000001+0 records in
1+0 records out
V O L 1 0 0 3 1 L 5 \0 \0 \0 \0 \0 \0
0000020 \0 \0 \0 \0 \0 \0 \0 001 \0 \0 \0 016 R 213 323 h
0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000060 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 007
0000100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 004 \0 \0 \0 \0 \0
0000120 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000160 T h I s I s A B P t A p
0000200 E h E a D e r \0 \0 \0 \0 \0 \0 \0 \0
0000220 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0002000
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
00000000+0
records in
0+0 records out
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
00000001+0 records in
1+0 records out
\0 \0 \0 002 n b u s e r v e r _ 1 3
0000020 8 4 8 9 5 3 3 6 \0 \0 \0 \0 \0 \0 \0 \0
0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000200 \0 \0 \0 \0 R 213 323 h R 225 \r 350 \0 \0 \0 \0
0000220 \0 \0 \0 001 \0 \0 \0 001 \0 001 \0 \0 \0 \0 \0 \0
0000240 0 0 3 1 L 5 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000260 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 001 \0 \0 \0 \0
0000300 \0 \0 \0 \0 \0 \0 \0 \0 T h I s I s
0000320 A B P B a C k U p H e A d
0000340 E r \0 P r u e b a _ O f f S i t
0000360 e \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000400 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000540 \0 \0 \0 \0 D e s k t o p - F u l l
0000560 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0002000
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
read: Not enough space
0+0 records in
0+0 records out
0000000
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
read: Not enough space
0+0 records in
0+0 records out
0000000
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
read: Not enough space
0+0 records in
0+0 records out
0000000
user@server # dd if=/dev/rmt/0cbn bs=1024 count=1 | od -c
read: Not enough space
0+0 records in
0+0 records out
0000000
Zero error. May be it was a one time error, is it? I Need to do other test or task?
Tank very much.
11-20-2013 09:53 AM
11-20-2013 12:46 PM
I going to take your advice.
Thank you very much Martin!