From owner-freebsd-scsi Wed Nov 15 14:25:47 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 84F7E37B479 for ; Wed, 15 Nov 2000 14:25:44 -0800 (PST) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id OAA07438; Wed, 15 Nov 2000 14:25:35 -0800 Date: Wed, 15 Nov 2000 14:25:33 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Jacques A. Vidrine" Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: [ TAPE TIMEOUT] Re: afio & SCB 0xc - timed out while idle In-Reply-To: <20001115145704.A10481@hamlet.nectar.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 15 Nov 2000, Jacques A. Vidrine wrote: > On Wed, Nov 15, 2000 at 10:29:48AM -0800, Matthew Jacob wrote: > > Hmm. Well, a couple of things; > > > > 1. Make sure you're not writing to a compressing tape device if you are > > compressing the data. Often doing so makes things very bad. > > I shall check and see if that makes any difference. > > > 2. There is no direct parameter to setting a time for writing filemarks- all > > of the calls to scsi_write_filemarks from scsi-sa.c use 60000 which you could > > probably increase. But 60 seconds *ought* to be enough. > > So an application cannot open a sequential access device, write for > awhile, do something else for > 60 seconds, and write some more? This > is what is happening. No, that's not what is happening. The close occurred, and the tape itself took longer than 60 seconds to write the closing filemarks (to flush buffers, etc). > afio has to pause for quite some time while compressing a large > file. For example, the first ISO image that it attempts to backup on > my system is over 370 MB, and takes over 13.5 minutes on a 350 MHz > Pentium II to compress it. Only after this has been done does afio > write again. (seems silly to me, yes, but there you are) Well, fine, but the time amounts only apply to commands in progress on tape. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message