tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY ; Strange problem with TLZ09
@ 1999-05-25 12:41 Bart Rousseau
  0 siblings, 0 replies; only message in thread
From: Bart Rousseau @ 1999-05-25 12:41 UTC (permalink / raw)
  To: tru64-unix-managers

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/

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

only message in thread, other threads:[~1999-05-25 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-25 12:41 SUMMARY ; Strange problem with TLZ09 Bart Rousseau

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