tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dermot Paikkos <dermot () sciencephoto ! com>
To: tru64-unix-managers
Subject: vrestore for 2nd or 3rd saveset
Date: Wed, 08 Aug 2001 10:34:54 +0000	[thread overview]
Message-ID: <102653669621807.tru64-unix-managers.marc@archive.invalid> (raw)

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@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

                 reply	other threads:[~2001-08-08 10:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox