vrestore for 2nd or 3rd saveset

From: Dermot Paikkos <dermot_at_sciencephoto.com>
Date: Wed, 08 Aug 2001 11:34:54 +0100

Hi Mangers,
I have a backup tape (Sony AIT 100Gb) on to which I have been
backing up the 3 advfs domains on our Compaq ALpha DC10. The
script I use is shown below.

My understanding of the vrestore process to access the files on the
2nd or 3rd saveset was as follows:
1) mt -f /dev/tape/tape0 rewind
2) vrestore -t -f /dev/tape/tape0 |wc -l # get no. files on f1st set
3) mt -f /dev/tape/tape0 fsf 10800 # Moves me to 2nd set

At this stage I get an I/O error (/dev/tape/tape0 fsf 10799 failed:
I/O error) and a mail report a from the privileged account.

What am I doing wrong? I have also tried using the STDOUT from
the vdump which tells me that the 1st saveset dumped 9569 files
and used "fsf 9569". Again same error.

 I need to access the files on the 3rd saveset. I did use compression
on the first saveset but the system does report 10800 files in the
tape if I pipe the vrestore -t into wc -l.

Can anyone help?
thanx
Dp.

---------------backup script-----------
cd /usr2/images
echo "Rewinding tape...."
echo "Rewinding tape...." >>${ROOTLOG}bup_weekend.log 2>&1
mt -f /dev/tape/tape0 rewind

echo "Dumping / to tape...."
echo "Dumping / to tape...." >>${ROOTLOG}bup_weekend.log 2>&1
vdump -0UCuf /dev/ntape/tape0 /

echo "Dumping /usr to tape...."
echo "Dumping /usr to tape...." >>${ROOTLOG}bup_weekend.log
2>&1
vdump -0Uuf /dev/ntape/tape0 /usr

echo "Dumping /usr0 to tape...."
echo "Dumping /usr0 to tape...." >>${ROOTLOG}bup_weekend.log
2>&1
vdump -0Uuf /dev/ntape/tape0 /usr0

# echo "Dumping /usr2 to tape...."
# echo "Dumping /usr2 to tape...."
>>${ROOTLOG}bup_weekend.log 2>&1
# vdump -0Uuf /dev/ntape/tape0 /usr2

-------------------------error mail message ------------------

============================ Translation
Sequence number of error: 788533327 Time of error entry: 08-Aug-
2001
11:09:07 Host name: nemesis

SCSI CAM ERROR PACKET
Controller type: DISK
SCSI device class: DEC SIM
Bus Number: 3
Target number: 6
Lun Number: 0

Name of routine that logged the event: ss_abort_done
Event information: SCSI abort has been performed
-------------------------------------------------------------------------------
~~
Dermot Paikkos * dermot_at_sciencephoto.com
Network Administrator _at_ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668
Received on Wed Aug 08 2001 - 10:37:15 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT