Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 1995 14:38:44 +0200
From:      Lars Köller <lars.koeller@odie.physik2.uni-rostock.de>
To:        julian@ref.tfs.com
Cc:        freebsd-questions@freefall.FreeBSD.org
Subject:   Re: Problems with st and HP DAT drive!
Message-ID:  <199509211238.OAA27703@odie.physik2.uni-rostock.de>
In-Reply-To: Mail from 'Julian Elischer <julian@ref.tfs.com>' dated: Thu, 21 Sep 1995 05:25:57 -0700 (PDT)

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)

   Sure, but it's mt on 2.0.5.

> 
> > 
> > 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.....
> 

      O.k. this leads to a blocksize of 51200 bytes (which is the value tar
   get with the -b 100 option). But nevertheless tar isn't so bad, when you
   apply the option  -b 100 during  read (I forgott this, sorry) everything
   works well!

> > 
> >    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)
> > 

    Thank you very much for help!

    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?199509211238.OAA27703>