From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 21:51:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 530FF106568C for ; Wed, 28 Jan 2009 21:51:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E5AA48FC2E for ; Wed, 28 Jan 2009 21:51:04 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n0SLotWU025850; Wed, 28 Jan 2009 22:50:55 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n0SLote5025847; Wed, 28 Jan 2009 22:50:55 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 28 Jan 2009 22:50:55 +0100 (CET) From: Wojciech Puchar To: Jaime In-Reply-To: Message-ID: <20090128225005.N25826@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Quantum tape drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 21:51:07 -0000 > 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 > at scbus0 target 0 lun 0 (pass0) > at scbus0 target 1 lun 0 (pass1) > at scbus0 target 2 lun 0 (pass2) > at scbus1 target 0 lun 0 (da0,pass3) > 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" > >