Date: Wed, 15 Nov 2000 14:25:33 -0800 (PST) From: Matthew Jacob <mjacob@feral.com> To: "Jacques A. Vidrine" <n@nectar.com> Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: [ TAPE TIMEOUT] Re: afio & SCB 0xc - timed out while idle Message-ID: <Pine.BSF.4.21.0011151424210.96707-100000@beppo.feral.com> In-Reply-To: <20001115145704.A10481@hamlet.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011151424210.96707-100000>