[2651] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Driver for Archive4586NP (Conner) AutoLoader Tape Drive (fwd)

daemon@ATHENA.MIT.EDU (Marc SCHAEFER)
Sat Oct 18 05:55:09 1997

Date: 	Sat, 18 Oct 1997 11:48:58 +0200 (MEST)
From: Marc SCHAEFER <schaefer@alphanet.ch>
To: linux-scsi@vger.rutgers.edu
Cc: lloyd@morpheme.com


> from Automatic to Low ON/High ON. What exactly that does I don't know

I would say that if you have both internal devices and external devices
(one bus on the internal connector, one bus on the external connector, you
should DISABLE termination in the Adaptec configuration, and enable it in
the last device externally and the last device internally. 

You should note that when using a WIDE card with wide devices and non wide
devices, you should terminate the bus properly at the last device which
must be wide in that case. A 50 pin terminator on a 68 pin connector will
give problems if there are any wide devices on that or the other bus
connector. 
   
This only applies to 2940W or 2940UW (the wide version).

> expensive that comparable controllers. Also, in attempting to get

Yes. I use NCR derivates (810) daily, and the performance increase of
the 2940UW was not that good.

> Created my first backup using dump.  Have downloaded Leonard Zubkoff's
> MTX program and plan on building it tomorrow.

I personnaly prefer something like this for full backups:

#! /bin/sh

TAPE=/dev/st0
export TAPE

# This sets the block size to variable size. Some tapes do not like or
# are not efficient with this, use the default or e.g. mt setblk 5120
# for an Exabyte. This setting works fine with DAT DDS-2 SONY SDT-7000.
mt setblk 0
mt rewind

cd /
find . -print | egrep -v '^\./proc/" | cpio -ov --io-size=32768 -H crc -o $TAPE

And like this, every day as a crontab script:

#! /bin/sh

case $# in
   0) DELAY=1;;
   1) DELAY=$1;;
   *) echo "$0 [delay]"
      echo "$0: bad args."
      exit 2;;
esac

TAPE=/dev/nst2
export TAPE

mt rewind
mt eom
mt setblk 0

cd /

find . \( -mtime -$DELAY -o -ctime -$DELAY \) -print | egrep -v '^\./proc/' | cpio -ov --io-size=32768 -O $TAPE -H crc

mt rewind

You can do restores with:

cpio -imduv --io-size=32768 -H crc < $TAPE

You can add on the command line the filespecs you want to restore. By
removing the u option you can only restore files which are newer.

cpio archives are quite portable as long as you have a GNU cpio around.

By using /dev/nst0 you can skip files (e.g. go to the third
incremental backup with mt fsf 2 from the beginning mt rewind)

Also, cpio will ask you when to mount another volume if it is needed.



home help back first fref pref prev next nref lref last post