From owner-freebsd-questions Thu Nov 2 21:29:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from agora.rdrop.com (agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (Postfix) with ESMTP id 0B82F37B4CF for ; Thu, 2 Nov 2000 21:29:33 -0800 (PST) Received: (from alan@localhost) by agora.rdrop.com (8.11.1/8.11.1) id eA35TVW03301; Thu, 2 Nov 2000 21:29:31 -0800 (PST) Date: Thu, 2 Nov 2000 21:29:31 -0800 From: Alan Batie To: Dan Nelson Cc: questions@FreeBSD.ORG Subject: Re: Writing to tape gets Invalid Argument Message-ID: <20001102212931.A2641@agora.rdrop.com> References: <20001102204405.A880@agora.rdrop.com> <20001102224652.B1613@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001102224652.B1613@dan.emsphone.com>; from dnelson@emsphone.com on Thu, Nov 02, 2000 at 10:46:52PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 02, 2000 at 10:46:52PM -0600, Dan Nelson wrote: > The tape driver will usually log a more detailed message to the console > and /var/log/messages; if you get a "MEDIUM ERROR", it's probably a bad > tape. You're right, it did log it; I should have thought of looking there: Nov 2 11:59:56 agora /kernel: (sa1:ahc0:0:12:0): Invalid request. Fixed block device requests must be a multiple of 1024 bytes Except that's bogus. I'm using tar which normally writes 10K blocks, and in this last case, I had it writing 1M blocks. But sure enough: 16683 tar CALL write(0x3,0x8094000,0x11e6) 16683 tar RET write -1 errno 22 Invalid argument 0x11e6 is definitely not blocked however. tar does have the "--block-compress" option, so I'm trying that now... Thanks! -- Alan Batie ______ www.rdrop.com/users/alan Me alan@batie.org \ / www.qrd.org The Triangle PGPFP DE 3C 29 17 C0 49 7A \ / www.pgpi.com The Weird Numbers 27 40 A5 3C 37 4A DA 52 B9 \/ www.anti-spam.net NO SPAM! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message