Operating System - HP-UX
1754230 Members
3791 Online
108812 Solutions
New Discussion

Re: I/O error while make_tape_recovery tap backup!!

 
JustPranav
Occasional Contributor

I/O error while make_tape_recovery tap backup!!

I am trying to take the tape backup, but getting follworing errors in nohup.out

Can anyone let me know, how can i resolve this issue...


------------
m7/>uname -a
HP-UX m7 B.11.23 U 9000/800 4059557779 unlimited-user license
m7/>

ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
tape 0 1/0/1/1/0/4/1.2.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c7t2d0BESTn /dev/rmt/c7t2d0DDSb
/dev/rmt/0mb /dev/rmt/c7t2d0BEST /dev/rmt/c7t2d0BESTnb /dev/rmt/c7t2d0DDSn
/dev/rmt/0mn /dev/rmt/c7t2d0BESTb /dev/rmt/c7t2d0DDS /dev/rmt/c7t2d0DDSnb

/>mt -t /dev/rmt/0mn status
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0

/>nohup make_tape_recovery -Avl -a /dev/rmt/0mn -x inc_entire=vg=00 &

/>tail -f nohup.out
ERROR: list_expander returned an error.
ERROR: Failed to get the archive size and the list of files which will be in archive.
** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive
* Scanning system for IO devices...
* Boot device is: 1/0/0/3/0.6.0

/>cat nohup.out
** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive
* Scanning system for IO devices...
* Boot device is: 1/0/0/3/0.6.0
WARNING: The volume group /dev/vg00 will be only partially included in the System Recovery Archive. This means that
not all files and directories on this volume group will be restored when the archive is installed. This
message can be suppressed using the "-P s" option for make_tape_recovery. See make_tape_recovery(1M) for
more details.
WARNING: Lstat failed for the essential file or directory /etc/lp/cinterface/mi_invclar. Processing essential list
may not complete properly: I/O error (errno = 5)
WARNING: Lstat failed for the essential file or directory /etc/lp/interface/mi_invclar. Processing essential list
may not complete properly: I/O error (errno = 5)
WARNING: Lstat failed for the essential file or directory /etc/lp/member/mi_invclar. Processing essential list may
not complete properly: I/O error (errno = 5)
WARNING: Lstat failed for the essential file or directory /etc/lp/sinterface/mi_invclar. Processing essential list
may not complete properly: I/O error (errno = 5)
WARNING: Lstat failed for the essential file or directory /etc/lp.copy/interface/q21_hayman. Processing essential
list may not complete properly: I/O error (errno = 5)
WARNING: Lstat failed for file /admin/scripts/expire_check_users_100.sh. Skipping. If this is a temporary file or
directory, this may be a WARNING that can be ignored. I/O error (errno = 5)
WARNING: Lstat failed for file /admin/scripts/ftp_rates.txt. Skipping. If this is a temporary file or directory,
this may be a WARNING that can be ignored. I/O error (errno = 5)
WARNING: Lstat failed for file /admin/scripts/test.sh. Skipping. If this is a temporary file or directory, this may

1 REPLY 1
Bill Hassell
Honored Contributor

Re: I/O error while make_tape_recovery tap backup!!

 

make_tape_recovery -Avl -a /dev/rmt/0mn -x inc_entire=vg=00
...
WARNING: The volume group /dev/vg00 will be only partially included in the System Recovery Archive.

The command line option has a spelling error: inc_entire=vg=00 should be inc_entire=vg00

Also, the -l option is used to specify the LAN MAC address so it will create an error message at the beginning.

The recommended command line would be:

make_tape_recovery -I -A -v -x inc_entire=vg00 -a /dev/rmt/0mn

Note the -I option is an uppercase letter i.

 

But more important:

errno=5 means that the data could not be read. This is a hardware failure. Your vg00 disk has gone bad and must be replaced. You should be seeing lots of error messages in syslog and also dmesg.



Bill Hassell, sysadmin