From owner-freebsd-questions Sat Sep 28 18:21:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35D2937B401 for ; Sat, 28 Sep 2002 18:21:14 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id D783443E4A for ; Sat, 28 Sep 2002 18:21:12 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id B1BBA8129C; Sun, 29 Sep 2002 10:51:09 +0930 (CST) Date: Sun, 29 Sep 2002 10:51:09 +0930 From: Greg 'groggy' Lehey To: "Hartmann, O." Cc: Dan Nelson , freebsd-questions@FreeBSD.ORG Subject: Re: Writing to tape drive produces invalid requests Message-ID: <20020929012109.GB36702@wantadilla.lemis.com> References: <20020928170452.GG7711@dan.emsphone.com> <20020928230051.P5296-100000@klima.physik.uni-mainz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020928230051.P5296-100000@klima.physik.uni-mainz.de> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday, 28 September 2002 at 23:02:54 +0200, Hartmann, O. wrote: > On Sat, 28 Sep 2002, Dan Nelson wrote: > >>> In the last episode (Sep 28), Hartmann, O. said: >>>> Hello. >>>> >>>> While writing to a tape drive unit I get this kernel log: >>>> >>>> (sa0:sym1:0:5:0): Invalid request. Fixed block device requests must be a multiple of 1024 bytes >>> >>> Try running "mt blocksize 0" to enable variable-length blocks. I think >>> ancient QIC tape drives are the only ones that require a fixed >>> blocksize. >>> >>> -- >>> Dan Nelson >>> dnelson@allantgroup.com >>> > > Hello. > I tried this, also, but with a similar effect. It think the HP SureStore 40x6i > (DDS-4) isn't a ancient tape drive, the PC-recommended and factory default > setting for this expensive DAT autoloader is 1024 bytes per block. > > I switched via mt blocksize 0 to variable blocksize, but then writing to > the tape took much longer. There are other DDS-4 drives that have a fixed block size of 1024 bytes. I have a Sony drive which also requires it. But why don't you just supply the data in that format? What are you writing? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message