From owner-freebsd-questions Thu Nov 2 22:18:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 110DA37B4C5 for ; Thu, 2 Nov 2000 22:18:34 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id eA36IVe21552; Fri, 3 Nov 2000 00:18:31 -0600 (CST) (envelope-from dan) Date: Fri, 3 Nov 2000 00:18:31 -0600 From: Dan Nelson To: Alan Batie Cc: questions@FreeBSD.ORG Subject: Re: Writing to tape gets Invalid Argument Message-ID: <20001103001831.A20500@dan.emsphone.com> References: <20001102204405.A880@agora.rdrop.com> <20001102224652.B1613@dan.emsphone.com> <20001102212931.A2641@agora.rdrop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <20001102212931.A2641@agora.rdrop.com>; from "Alan Batie" on Thu Nov 2 21:29:31 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Nov 02), Alan Batie said: > 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. BTW: FreeBSD currently has a (rather small) SCSI I/O limit of 64K, so your 1MB write will be split up into 16 64K blocks on tape. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message