DAT drives

Chris Howells howells at kde.org
Wed Dec 24 03:55:14 PST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 24 December 2003 04:51, Wayne E. Bouchard wrote:
> I just picked up a (used) surestore C1533A (thats an HP device) and am

Same here.

> having some problems getting it work quite right. I've got the dip switches
> set correctly (I was able to find at least 3 corroborating pages for that)
> but can't manage to get it to write correctly. It will only write about
> 50 megs using 0a as dump flags. Trying to specify -B and estimating
> compression got me to about 200 but it's a 4 gig drive. All it wants to
> do is write a few blocks, sit and sputter for a second or two, write a few
> more, (repeat for about 15 minutes) and then tell me it's at EOM well
> before it should be.

I had a vaguely similar problem. When I first got the drive (second hand) I
tested it in a P150 test machine running OpenBSD 3.4. It seemed to work very
nicely there. I had some problems when I put it into my FreeBSD server
though. It didn't seem to want to write more than 100MB or so even though I
thought I was using the correct commands etc.

Eventually though i came up with the following backup script and it works
nicely... Might be worth trying, though it looks like you're using the
correct command already... dunno.


#!/usr/local/bin/bash
echo "Starting the backup"

for fs in $FILESYSTEMS
do
 $DUMP -0au -f $NTAPE $fs
done

echo "Rewinding the tape"

$MT -f $TAPE rewind

echo "Ejecting the tape"

$CAMCONTROL eject sa0
- -bash-2.05b$ cat /root/backup.sh
#!/usr/local/bin/bash

NTAPE="/dev/nrsa0"
TAPE="/dev/rsa0"
MT="/usr/bin/mt"
DUMP="/sbin/dump"
CAMCONTROL="/sbin/camcontrol"

FILESYSTEMS="/ /var /backup"

echo "Rewinding the tape"
$MT -f $TAPE rewind

echo "Starting the backup"

for fs in $FILESYSTEMS
do
 $DUMP -0au -f $NTAPE $fs
done

echo "Rewinding the tape"

$MT -f $TAPE rewind

echo "Ejecting the tape"

$CAMCONTROL eject sa0


I'm using FreeBSD 4.9.

- --
Cheers, Chris Howells -- chris at chrishowells.co.uk, howells at kde.org
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/6X6IF8Iu1zN5WiwRAs+iAJ9XEE1G8FPT2GSeaVjjJyqPmIZ7ywCeOnPP
5JJUdGkDlQLkx4fBYZznbfw=
=RKjU
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list