SUMMARY: mt -f <device> rewind

From: <C.Schwabl_at_mobilkom.at>
Date: Fri, 05 Jan 2001 14:13:06 +0100

I got 2 fast replies, both stating that under some circumstances, tape
commands return even if the tape drive is not ready for the next command.

I am now going to change the script which loads the correct tapes into the
drives, so that it properly checks if the tape drive is ready.

Big thanks go to:
        Dr. Tom Leitner <tom_at_radar.tu-graz.ac.at >
        Jim Belonis <belonis_at_phys.washington.edu>

Thanks again, this is a great list for everyone in desperate need of help
and all the others, who just want to learn.

Schwabl Christian
IT-UXOS, mobilkom
Tel: +43/1/33161-2460
GSM: +43/664/3312460
Obere Donaustraße 29
Zimmer A02A060

------------ Original Question ------------
Dear managers,

as i began to work today i saw that one of our backup failed.
I looked into the log-files and found the following (we are using brbackup
to do an online-backup of the sap-system):

BR278E Command output of 'LANG=C mt -f /dev/rmt0h rew':
^G
Error on device named /dev/rmt0h - Place DLT8000 tape drive unit #1 ONLINE
BR279E Return code from 'LANG=C mt -f /dev/rmt0h rew': 1
BR213E Winding tape volume in device /dev/nrmt0h failed.

BR056I End of database backup: bdejpfgk.ant 2001-01-05 01.05.12
BR054I BRBACKUP terminated with errors.

As the tape was still in the drive (and online), i tried to do the rewind
manually:

xxx:root 283> mt -f /dev/rmt0h rewind
^Hxxx:root 284>

After this command, every mt on this device succeeded as one would expect...

Has anyone ever encountered such an output?
What can be done to prevent this from happening again? (i dont like the
feeling of having no backup...)

The system is a AlphaServer 4100 running Tru64 4.0F with Patchkit 3
installed.
The device in question is a HP DLT 8000 (we are using a HP-Library for the
SAP-Backup)
Received on Fri Jan 05 2001 - 13:14:42 NZDT

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