Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Restore failure

Created: 25 Jul 2013 | 5 comments

Restore is failing with the below error. Please suggest is the tape bad?can't we use for restore ?

07/25/2013 22:49:17 - restoring from image XX_1285100078
07/25/2013 22:49:18 - Info bpbrm (pid=480226) xxxx is the host to restore to
07/25/2013 22:49:18 - Info bpbrm (pid=480226) telling media manager to start restore on client
07/25/2013 22:49:19 - Info bpbrm (pid=480226) spawning a brm child process
07/25/2013 22:49:19 - Info bpbrm (pid=480226) child pid: 467848
07/25/2013 22:49:19 - connecting
07/25/2013 22:49:20 - requesting resource L42276
07/25/2013 22:49:21 - Info bptm (pid=335982) Waiting for mount of media id L42276 (copy 1) on server nblcbk01.
07/25/2013 22:49:21 - started process bptm (pid=335982)
07/25/2013 22:49:21 - mounting L42276
07/25/2013 22:49:21 - granted resource  L42276
07/25/2013 22:49:21 - granted resource  Rob4-F6-Drv8B
07/25/2013 22:49:22 - Info bpbrm (pid=467848) start tar on client
07/25/2013 22:49:22 - Info bptm (pid=335982) INF - Waiting for mount of media id L42276 on server nblcbk01 for reading.
07/25/2013 22:49:27 - Info tar (pid=8300) Restore started.
07/25/2013 22:49:27 - connected; connect time: 0:00:00
07/25/2013 22:49:53 - mounted L42276; mount time: 0:00:32
07/25/2013 22:49:53 - Info bptm (pid=335982) L42276
07/25/2013 22:49:54 - Info bptm (pid=335982) INF - Waiting for positioning of media id L42276 on server nblcbk01 for reading.
07/25/2013 22:49:54 - positioning L42276 to file 35
07/25/2013 22:51:54 - Warning bptm (pid=335982) cannot locate on drive index 30, locate scsi command failed, status = 0x2, key = 0x8, asc = 0x0, ascq = 0x5
07/25/2013 22:51:54 - Warning bptm (pid=335982) read error on media id L42276, drive index 30 reading header block, There is an input or output error.
07/25/2013 22:52:36 - Error bptm (pid=335982) ioctl (MTFSF) failed on media id L42276, drive index 30, There is an input or output error. (bptm.c.6881)
07/25/2013 22:52:37 - Error bptm (pid=520442) The following files/folders were not restored:
07/25/2013 22:52:37 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/
07/25/2013 22:52:37 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.01.18.100/
07/25/2013 22:52:38 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.01.18.100/Audio/
07/25/2013 22:52:38 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.01.18.100/Audio/42_14_08.01.18.100.WAV
07/25/2013 22:52:38 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.10.26.000/
07/25/2013 22:52:38 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.10.26.000/Audio/
07/25/2013 22:52:38 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.10.26.000/Audio/42_14_08.10.26.000.WAV
07/25/2013 22:52:39 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.18.33.200/
07/25/2013 22:52:39 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.18.33.200/Audio/
07/25/2013 22:52:39 - Error bptm (pid=520442) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.18.33.200/Audio/42_14_08.18.33.200.WAV
07/25/2013 22:52:39 - Error bptm (pid=520442) more than 10 files were not restored, remaining ones are shown in the progress log.
07/25/2013 22:52:40 - Info bpbrm (pid=480226) got ERROR 86 from media manager
07/25/2013 22:52:40 - Info bpbrm (pid=480226) terminating bpbrm child 467848 jobid=1012991
07/25/2013 22:52:40 - restored from image VQMCPLC01_1285100078; restore time: 0:03:23
07/25/2013 22:52:44 - end Restore; elapsed time 0:08:36
Failed to get status code information (2826)

Operating Systems:

Comments 5 CommentsJump to latest comment

mph999's picture

Could be tape or could be the drive:

07/25/2013 22:49:54 - positioning L42276 to file 35
07/25/2013 22:51:54 - Warning bptm (pid=335982) cannot locate on drive index 30, locate scsi command failed, status = 0x2, key = 0x8, asc = 0x0, ascq = 0x5
07/25/2013 22:51:54 - Warning bptm (pid=335982) read error on media id L42276, drive index 30 reading header block, There is an input or output error.
07/25/2013 22:52:36 - Error bptm (pid=335982) ioctl (MTFSF) failed on media id L42276, drive index 30, There is an input or output error. (bptm.c.6881)

... but probably more likely to be the media.  Especially if only one tape affected ?

What happens if you run :

bpmedialist -mcontents -m <media id>  - do you get an error.  Perhaps you could post up the output.

Martin

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Possible's picture

Netbackup is not able to get the output sent for the media on given drive.

How many times u tried restore?

Workaround could be :

Down the drive Rob4-F6-Drv8B and let the media take other drive for restore in next attempt

OR

move media from one drive to other drive before u kick off the restore.

if nbu fails to read data from tape from more than 2 drives then there is problem with tape 

and u get data read from tape when moved to other drive ; problem is with Drv8B

tpram@Backup's picture

Hi,

Now the restore failed with the same tape with different drive in the second attemt.

now the drive -Drv3B but the same tape L42276.

and I ran the bpmedialist command and it gave the below o/p.

08/07/2013 07:12:57 - begin Restore
08/07/2013 07:13:05 - number of images required: 1
08/07/2013 07:13:06 - media needed: L42362
08/07/2013 07:13:06 - media needed: L41962
08/07/2013 07:13:06 - media needed: L40460
08/07/2013 07:13:06 - media needed: L41494
08/07/2013 07:13:06 - media needed: L42276
08/07/2013 07:18:11 - restoring from image VQMCPLC01_1285100078
08/07/2013 07:18:13 - Info bpbrm (pid=500682) VQMCPLC01 is the host to restore to
08/07/2013 07:18:13 - Info bpbrm (pid=500682) telling media manager to start restore on client
08/07/2013 07:18:14 - Info bpbrm (pid=500682) spawning a brm child process
08/07/2013 07:18:14 - Info bpbrm (pid=500682) child pid: 319842
08/07/2013 07:18:14 - connecting
08/07/2013 07:18:15 - requesting resource L42276
08/07/2013 07:18:16 - Info bptm (pid=508850) Waiting for mount of media id L42276 (copy 1) on server nblcbk01.
08/07/2013 07:18:16 - started process bptm (pid=508850)
08/07/2013 07:18:16 - mounting L42276
08/07/2013 07:18:16 - Info bpbrm (pid=319842) start tar on client
08/07/2013 07:18:16 - granted resource  L42276
08/07/2013 07:18:16 - granted resource  Rob4-F5-Drv3B
08/07/2013 07:18:17 - Info bptm (pid=508850) INF - Waiting for mount of media id L42276 on server nblcbk01 for reading.
08/07/2013 07:18:28 - Info tar (pid=1304) Restore started.
08/07/2013 07:18:28 - connected; connect time: 0:00:00
08/07/2013 07:18:46 - mounted L42276; mount time: 0:00:30
08/07/2013 07:18:46 - Info bptm (pid=508850) L42276
08/07/2013 07:18:47 - Info bptm (pid=508850) INF - Waiting for positioning of media id L42276 on server nblcbk01 for reading.
08/07/2013 07:18:47 - positioning L42276 to file 35
08/07/2013 07:20:50 - Warning bptm (pid=508850) cannot locate on drive index 32, locate scsi command failed, status = 0x2, key = 0x8, asc = 0x0, ascq = 0x5
08/07/2013 07:20:50 - Warning bptm (pid=508850) read error on media id L42276, drive index 32 reading header block, There is an input or output error.
08/07/2013 07:21:00 - Error bptm (pid=508850) ioctl (MTFSF) failed on media id L42276, drive index 32, There is an input or output error. (bptm.c.6881)
08/07/2013 07:21:00 - Error bptm (pid=360690) The following files/folders were not restored:
08/07/2013 07:21:00 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/
08/07/2013 07:21:01 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.01.18.100/
08/07/2013 07:21:01 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.01.18.100/Audio/
08/07/2013 07:21:01 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.01.18.100/Audio/42_14_08.01.18.100.WAV
08/07/2013 07:21:01 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.10.26.000/
08/07/2013 07:21:02 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.10.26.000/Audio/
08/07/2013 07:21:02 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.10.26.000/Audio/42_14_08.10.26.000.WAV
08/07/2013 07:21:02 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.18.33.200/
08/07/2013 07:21:02 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.18.33.200/Audio/
08/07/2013 07:21:02 - Error bptm (pid=360690) UTF - /O/OspData/30-Sep-2009/Site_01_Machine_42/Input_14/08.18.33.200/Audio/42_14_08.18.33.200.WAV
08/07/2013 07:21:03 - Error bptm (pid=360690) more than 10 files were not restored, remaining ones are shown in the progress log.
08/07/2013 07:21:03 - Info bpbrm (pid=500682) got ERROR 86 from media manager
08/07/2013 07:21:03 - Info bpbrm (pid=500682) terminating bpbrm child 319842 jobid=1101095
08/07/2013 07:21:03 - restored from image VQMCPLC01_1285100078; restore time: 0:02:52
08/07/2013 07:21:07 - end Restore; elapsed time 0:08:10
Failed to get status code information (2826)

=========================================

root:nblcbk01:/roots # bpmedialist -mcontents -m L42276
media id = L42276, allocated 07/24/2013 01:01, retention level = 10
 
File number 1
  Backup id = cxl_t_scan_1374649285
  Creation date = 07/24/2013 01:01
  Expiration date = 08/21/2013 01:01
  Retention level = 10
  Copy number = 1
  Fragment number = 1
  Block size (in bytes) = 131072
 
File number 1
  Backup id = cxl_t_scan_1374649286
  Creation date = 07/24/2013 01:01
  Expiration date = 08/21/2013 01:01
  Retention level = 10
  Copy number = 1
  Fragment number = 1
  Block size (in bytes) = 131072
 
File number 2
  Backup id = cxl_t_scan_1374649285
  Creation date = 07/24/2013 01:01
  Expiration date = 08/21/2013 01:01
  Retention level = 10
  Copy number = 1
  Fragment number = 2
  Block size (in bytes) = 131072
 
File number 2
  Backup id = cxl_t_scan_1374649286
  Creation date = 07/24/2013 01:01
  Expiration date = 08/21/2013 01:01
  Retention level = 10
  Copy number = 1
  Fragment number = 2
  Block size (in bytes) = 131072
 
File number 3
  Backup id = cxl_t_scan_1374649286
  Creation date = 07/24/2013 01:01
  Expiration date = 08/21/2013 01:01
  Retention level = 10
  Copy number = 1
  Fragment number = 3
  Block size (in bytes) = 131072
 
File number 4
  Backup id = cxl_t_scan_1374672955
  Creation date = 07/24/2013 07:35
  Expiration date = 08/21/2013 07:35
  Retention level = 10
  Copy number = 1
  Fragment number = 1
  Block size (in bytes) = 131072
 
File number 5
  Backup id = cxl_t_scan_1374899586
  Creation date = 07/26/2013 22:33
  Expiration date = 08/23/2013 22:33
  Retention level = 10
  Copy number = 1
  Fragment number = 1
  Block size (in bytes) = 131072
 
File number 5
  Backup id = cxl_t_scan_1374899587
  Creation date = 07/26/2013 22:33
  Expiration date = 08/23/2013 22:33
  Retention level = 10
  Copy number = 1
  Fragment number = 1
  Block size (in bytes) = 131072
 
File number 6
  Backup id = cxl_t_scan_1374899587
  Creation date = 07/26/2013 22:33
  Expiration date = 08/23/2013 22:33
  Retention level = 10
  Copy number = 1
  Fragment number = 2
  Block size (in bytes) = 131072
 
root:nblcbk01:/roots #
 

Plase suggest me to get the restore successful..

revaroo's picture

Looks like you have a faulty tape!!

babu beesetty's picture

Could you please request your onsite person to check the physical status of the tape like "pin position" ?