Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 22:50:55 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Jaime <jaime@snowmoon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Quantum tape drive
Message-ID:  <20090128225005.N25826@wojtek.tensor.gdynia.pl>
In-Reply-To: <ae4324ed0901281136v80fd634t1cbed1f73170c2ef@mail.gmail.com>
References:  <ae4324ed0901281136v80fd634t1cbed1f73170c2ef@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> I am trying to replace an older DLT tape drive (which doesn't like to
> eject tapes any more) with a new Quantum DLT-4 drive.  Its connected
> by internal SCSI and seems to be set up right.  But after DAYS of
> running a tar command, its still not done backing up 60GB.  The old
> drive could backup 70-80GB in about 7 hours.

try mt setblk 0 and then tar -b 64 some drives gets locked with small 
blocks.

and most can get locked with improper termination ;) check it.

>
> I changed my backup script to include a -v flag in the tar command,
> and it now lists hundreds or possibly thousands of files.  But it
> never even gets to /home before I killed the process (after 9 hours in
> this case).
>
> Any suggestions?
>
> If it helps, the backup script and output from camcontrol follows.
> However, this script is the same one that worked on the other drive.
> A quick test with a Knoppix disk suggested that the backups ran faster
> in Linux.  Not positive of this, but it might be true.
>
> $ cat /etc/periodic/daily/910.backups
> #!/bin/sh
> #
>
> echo
> echo "Tape archives:"
>
> dow=`/bin/date +%w`
> if test "$dow" -gt 1;
> then
> 	echo " Beginning backup."
> 	/usr/bin/uptime
> 	/usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f
> /dev/sa0 -C / .
> 	/usr/bin/uptime
> else
> 	echo " Today is a weekend.  Skipping backups."
> fi
>
>
> $ camcontrol devlist
> <SEAGATE ST373207LW 0004>          at scbus0 target 0 lun 0 (pass0)
> <SEAGATE ST373207LW 0004>          at scbus0 target 1 lun 0 (pass1)
> <SEAGATE ST373207LW 0004>          at scbus0 target 2 lun 0 (pass2)
> <LaCie BigDisk Extreme+ 3.AA>      at scbus1 target 0 lun 0 (da0,pass3)
> <QUANTUM DLT-V4 0A00>              at scbus2 target 4 lun 0 (sa0,pass4)
>
> Any help is greatly appreciated.
>
> Thanks in advance,
> Jaime
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090128225005.N25826>