tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Bart Rousseau <roussea () uia ! ua ! ac ! be>
To: tru64-unix-managers
Subject: SUMMARY ; Strange problem with TLZ09
Date: Tue, 25 May 1999 12:41:27 +0000	[thread overview]
Message-ID: <96079042215917.tru64-unix-managers.marc@archive.invalid> (raw)

Hi,

I had a problem with a TLZ09-DB DAT drive that
would not rewind tapes correctly (but that otherwise
was working correctly).

The solution was to use

mt -f /dev/rmt1h offline

instead of

mt rewind
mt unload

because

 1. mt defaults to rmt0. In my case this was not the problem because
    for some reason /dev/rmt1h and /dev/rmt0h correspond to the same
    device (we have only one dat-device). Why I have both /dev/rmt0h
    and /dev/rmt1h is not clear to me...

 2. use /dev/rmt1h and not /dev/nrmt1h because the 'n' causes the
    drive to not rewind the tape. I should have known this since
    I use this to make multiple backups to one tape...

so I changed my backup-script to look like this:

logfile='/home/roussea/tarlog4'
print "Backup started at $(date)" > $logfile
df -k >> $logfile
/local/bin/tar -cvzf /dev/nrmt1h --exclude-from='/dontbckp' /home3
1>>$logfile 2>&1
/local/bin/tar -cvzf /dev/nrmt1h --exclude-from='/dontbckp' /home4
1>>$logfile 2>&1
/local/bin/tar -cvzf /dev/rmt1h --exclude-from='/dontbckp' /home
1>>$logfile 2>&1
print "Backup completed at $(date)" >> $logfile
mt -f /dev/rmt1h offline

and now it seems to be working fine.

Thanks to

  Richard Eisenman
  George Guethlein
  Paul Casteels

Thanks again to all who responded,
Bart.

--
Bart Rousseau, Ph.D. student
University of Antwerp - Dep. of Chemistry
Structural Chemistry  - Quantum Chemistry
http://sch-www.uia.ac.be/struct/quantum/

                 reply	other threads:[~1999-05-25 12:41 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