Forum Discussion

Saurav_Haloi's avatar
13 years ago

Netbackup 7.5 restore fails with 2800, Tar Exits with Error 174

While restoring using Standard policy restore in Netbackup 7.5, the restoration fails with error code 2800 and tar  exits with error code 174.

<-- tar log snippets starts -->

23:58:54 (375.001) INF - TAR STARTED 15667
23:58:56 (375.001) parent_bptm = 15668, num_bufs = 30, buff_size = 262144, dataport = 0, IS_MPX = 0, Ismpx = 0, CINDEX = 0, curr_buf = 0, buf_seq = 1, is_tape = 1
23:58:56 (375.001) dataipc = /tmp/vnet-15620366396133871538000000005-1WQJc3
23:58:56 (375.001) SHMID = 23330834, BUF_PTR = 0x0x7fa859977000, BUF_CONTROL = 0x0x7fa85a0f7000, ReadyPtr = 0x0x7fa85a0f72d0, MPX_RES_CNTL = 0x0x7fa85a0f72d8
23:58:57 (375.001) FRAGNUM = 1, COPYNUM = 1, KBYTES = 185312, REMAINDER = 0, FIRSTBLK = 0, LASTBLK = 370623
23:58:57 (375.001) [15668] data socket to bprd is connected (6)
23:58:57 (375.001) [15668] received string: (56 37456 0 0 0 0 0 /root/Downloads/)
23:58:57 (375.001) unknown file type I encountered, continuing to process file / (size 0)          <----- NEED HELP WITH THIS ERROR
23:58:57 (375.001) expected file /root/Downloads/, found file /                                              
<----- NEED HELP WITH THIS ERROR

23:58:57 (375.001) [15668] Exit_shm status = 174
23:58:57 (375.001) The following files/folders were not restored:
23:58:57 (375.001) UTF - /root/Downloads/

<-- tar log snippets ends -->

<-- bptmlog snippets starts -->

23:58:57.408 [15668] <2> bptm: EXITING with status 174 <----------
23:58:57.408 [15668] <2> set_job_details: Tfile (375): LOG 1366396137 4 bptm 15668 EXITING with status 174 <----------

<-- bptm  log snippets ends -->

The backup and media verification is done sucessfully. Also, if I run a manual untar using /usr/openv/netbackup/bin/tar on the image file, its extracted successfully!

Please help..!!

 

8 Replies

  • Confrim that the location you are tyring to restore to is a Diskspace  big enough to hold the Data that you want to do the restore.

  • We do have enough space available at the restore location.

     

    [root@dfslxb1 ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda3              83G   38G   42G  48% /
    tmpfs                 7.8G   76K  7.8G   1% /dev/shm
    /dev/sda1             194M   32M  153M  18% /boot
    tmpfs                 4.0K     0  4.0K   0% /dev/vx
    /dev/vx/dsk/nbuDG/bkvol
                          500G  200M  469G   1% /Backup
     
    Our backup data size is ~800MB uncompressed.
     
    We are using Red Hat Enterprise Linux Server release 6.2 (x86_64) on all our machines (client, media server and also on storage servers)
     
    We are trying to backup/restore netbackup logs itself (for testing out) and /root/Downloads exists

     

  • Please upload the TAR log from the client and the bptm from the media server

  • 1. The backup images contained mostly text files. We tried restoring to same location as well as alt ernate. In both the scenarios, restoration fails with the same error (Restore: 2800, TAR:174).

    2. Yes, /root/Downloads exists!

    3. Uploaded in the followup reply below by Joydip!

    Regards,

    Saurav

     

     

  • The error log in Netbackup Java GUI looks as below:

    04/24/2013 11:48:24 - begin Restore
    04/24/2013 11:48:24 - restoring from image edited3.symantec.com_1366626394
    04/24/2013 11:48:25 - Info bprd (pid=14503) Restoring from copy 1 of image created Mon Apr 22 15:56:34 2013
    04/24/2013 11:48:25 - Info bpbrm (pid=14534) edited3.symantec.com is the host to restore to
    04/24/2013 11:48:25 - Info bpbrm (pid=14534) reading file list from client
    04/24/2013 11:48:25 - connecting
    04/24/2013 11:48:25 - Info bpbrm (pid=14534) starting bptm
    04/24/2013 11:48:25 - Info tar (pid=9578) Restore started
    04/24/2013 11:48:25 - connected; connect time: 0:00:00
    04/24/2013 11:48:25 - Info bpbrm (pid=14534) bptm pid: 14535
    04/24/2013 11:48:25 - requesting resource @aaaad
    04/24/2013 11:48:25 - granted resource  MediaID=@aaaad;DiskVolume=lsu1;DiskPool=webhdfs-diskpool;Path=lsu1;StorageServer=edited5.symantec.com;MediaServer=edited1.symantec.com
    04/24/2013 11:48:26 - Info bptm (pid=14535) start
    04/24/2013 11:48:26 - started process bptm (pid=14535)
    04/24/2013 11:48:26 - Info bpdm (pid=14535) reading backup image
    04/24/2013 11:48:26 - Info bptm (pid=14535) using 30 data buffers
    04/24/2013 11:48:26 - Info bptm (pid=14535) spawning a child process
    04/24/2013 11:48:26 - Info bptm (pid=14535) child pid: 14538
    04/24/2013 11:48:28 - begin reading
    04/24/2013 11:48:29 - Warning bptm (pid=14538) unknown file type I encountered, continuing to process file / (size 0)
    04/24/2013 11:48:29 - Critical bptm (pid=14538) expected file /root/ToBackUp/, found file /
    04/24/2013 11:48:29 - Error bptm (pid=14538) The following files/folders were not restored:
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1982.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1984.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1949.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1991.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1976.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1974.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1978.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1987.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) UTF - /root/ToBackUp/pg1956.txt
    04/24/2013 11:48:29 - Error bptm (pid=14538) more than 10 files were not restored, logging is suspended
    04/24/2013 11:48:29 - Info tar (pid=9578) done. status 6
    04/24/2013 11:48:29 - Info tar (pid=9578) done. status: 186
    04/24/2013 11:48:29 - Info bptm (pid=14535) waited for empty buffer 0 times, delayed 0 times
    04/24/2013 11:48:29 - Info bptm (pid=14535) EXITING with status 174 <----------
    04/24/2013 11:48:29 - Info tar (pid=9578) done. status: 174: media manager - system error occurred
    04/24/2013 11:48:29 - Error bpbrm (pid=14534) client restore EXIT STATUS 174: media manager - system error occurred
    04/24/2013 11:48:30 - restored from image edited3.symantec.com_1366626394; restore time: 0:00:06
    04/24/2013 11:48:30 - Warning bprd (pid=14503) Restore must be resumed prior to first image expiration on Mon 06 May 2013 03:56:34 PM IST
    04/24/2013 11:48:30 - end Restore; elapsed time 0:00:06
    Standard policy restore error  (2800)

     

    Any help is highly appreciated!

    Regards,

    Saurav

  • If you are unable to attach the tar log here, you will need to open a ticket with support.