Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 14:23:50 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Jaime <jaime@snowmoon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Quantum tape drive
Message-ID:  <20090128202349.GD63837@dan.emsphone.com>
In-Reply-To: <ae4324ed0901281136v80fd634t1cbed1f73170c2ef@mail.gmail.com>
References:  <ae4324ed0901281136v80fd634t1cbed1f73170c2ef@mail.gmail.com>

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

In the last episode (Jan 28), Jaime said:
> 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.
> 
> Any suggestions?
> 
> 	/usr/bin/tar -cvpX /usr/local/etc/backups/skiplist-relative.txt -f /dev/sa0 -C / .

If nothing else, I suggest bumping up your blocksize.  The default for tar
(10k) is pretty small for modern tape drives.  Try -b 128 (for a 64k block
size).  Another optimization would be to put a buffering program in between
tar and your tape drive to decouple disk reads from tape writes.  misc/team,
misc/buffer, and misc/cstream in ports are good for this.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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