Date: Thu, 21 Sep 1995 05:25:57 -0700 (PDT) From: Julian Elischer <julian@ref.tfs.com> To: lars.koeller@odie.physik2.uni-rostock.de (Lars Köller) Cc: freebsd-questions@freefall.freebsd.org Subject: Re: Problems with st and HP DAT drive! Message-ID: <199509211225.FAA08546@ref.tfs.com> In-Reply-To: <199509210917.LAA27328@odie.physik2.uni-rostock.de> from "Lars Köller" at Sep 21, 95 11:17:15 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509211225.FAA08546>