From owner-freebsd-questions Thu Sep 21 05:27:18 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA04615 for questions-outgoing; Thu, 21 Sep 1995 05:27:18 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA04610 for ; Thu, 21 Sep 1995 05:27:17 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id FAA08546; Thu, 21 Sep 1995 05:25:58 -0700 From: Julian Elischer Message-Id: <199509211225.FAA08546@ref.tfs.com> Subject: Re: Problems with st and HP DAT drive! To: lars.koeller@odie.physik2.uni-rostock.de (Lars Köller) Date: Thu, 21 Sep 1995 05:25:57 -0700 (PDT) Cc: freebsd-questions@freefall.freebsd.org In-Reply-To: <199509210917.LAA27328@odie.physik2.uni-rostock.de> from "Lars Köller" at Sep 21, 95 11:17:15 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 2191 Sender: owner-questions@FreeBSD.org Precedence: bulk > > Hello! > > I use a 2GB HP-DAT drive for backup. 'st stat' reports the following: st -f /dev/nrst1 stat I hope.... (default is st0) > > Present Mode: Density = X3B5/88-185A Blocksize variable > ---------available modes--------- > Mode 0: Density = 0x00 Blocksize variable > Mode 1: Density = 0x00 Blocksize variable > Mode 2: Density = 0x00 Blocksize variable > Mode 3: Density = 0x00 Blocksize variable > > After backing up with the level-0/1 script from GNU-tar I try to > verify the tape (/dev/nrst1) > > crw-r----- 2 root operator 14, 17 Sep 21 04:54 /dev/nrst1 > crw-r----- 2 root operator 14, 17 Sep 21 04:54 /dev/nrst1.0 > crw-r----- 1 root operator 14, 21 Sep 15 08:58 /dev/nrst1.1 > crw-r----- 1 root operator 14, 25 Sep 15 08:58 /dev/nrst1.2 > crw-r----- 1 root operator 14, 29 Sep 15 08:58 /dev/nrst1.3 > crw------- 1 root wheel 14, 536870928 Sep 15 08:58 /dev/rst1.ctl > > with tar -tf and get the following error message: > > 910 : tar tv > tar: read error on /dev/nrst1 : Input/output error forget tar... try st and dd st (you know what version OS is this? mt now does all this...) st -f /dev/nrst1 rewind dd if=/dev/nrst1 of=/tmp/xx bs=64k count=1 ls -l /tmp/xx (should tell you the blocksize actually written to tape) use this blocksize for reading..... > > and on the console > > st1: 51200-byte record too big > > the blocksize for tar (-b) is set to 100. There are no problems with > the same procedure on my Wangtec 525MB tape (/dev/nrst0) but there st > reports a blocksize of 10240. > > Any suggestions? The manpage for st(4) says a blocksize up to 64kB is > allowed! yes.. (more on some adapters) > > Regards > > Lars > > > -- > ______________________________________________________________________________ > Lars Köller E-Mail: > University of Rostock (Germany) lars.koeller@odie.physik2.Uni-Rostock.DE > Fachbereich Physik > Universitätsplatz 3 Phone: +49 381/498-1665 or 498-1648 > 18051 Rostock Fax: +49 381/498-1667 > >