Date: Fri, 3 Nov 2000 00:18:31 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Alan Batie <alan@agora.rdrop.com> Cc: questions@FreeBSD.ORG Subject: Re: Writing to tape gets Invalid Argument Message-ID: <20001103001831.A20500@dan.emsphone.com> In-Reply-To: <20001102212931.A2641@agora.rdrop.com>; from "Alan Batie" on Thu Nov 2 21:29:31 GMT 2000 References: <20001102204405.A880@agora.rdrop.com> <20001102224652.B1613@dan.emsphone.com> <20001102212931.A2641@agora.rdrop.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001103001831.A20500>