From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669621808.tru64-unix-managers.marc@archive.invalid> From: Dermot Paikkos Date: Wed, 08 Aug 2001 10:53:38 +0000 To: tru64-unix-managers Subject: SUMMARY vrestore for 2nd or 3rd saveset X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669621808 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