tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY vrestore for 2nd or 3rd saveset
@ 2001-08-08 10:53 Dermot Paikkos
  0 siblings, 0 replies; only message in thread
From: Dermot Paikkos @ 2001-08-08 10:53 UTC (permalink / raw)
  To: tru64-unix-managers

That was so fast. I have had at least 5 replies in less about 10 
minutes;
Thanx to:
byran.mills, Michael James, Kraft Wolfram, Rost Werner and Phil 
Baldwin.

The answer is fsf 2 or 3 NOT the actually number of files dumped 
but the session number, so its similar to ufs'es restore -s 2.

Thanx again.
Dp.


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

------- End of forwarded message -------
~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-08 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 10:53 SUMMARY vrestore for 2nd or 3rd saveset Dermot Paikkos

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