From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97870044012169.tru64-unix-managers.marc@archive.invalid> From: C.Schwabl () mobilkom ! at Date: Fri, 05 Jan 2001 13:13:06 +0000 To: tru64-unix-managers Subject: SUMMARY: mt -f rewind X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97870044012169 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 Jim Belonis 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=DFe 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=3DC mt -f /dev/rmt0h rew': ^G Error on device named /dev/rmt0h - Place DLT8000 tape drive unit #1 = ONLINE BR279E Return code from 'LANG=3DC 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)