Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Linux DAT tape support
       [not found] <5518FE2C95E6D111B1A500104B72113B02042020@alfexc8.alf.dec.com>
@ 1998-12-19 12:12 ` David Monro
  1998-12-19 16:36 ` Michal Jaegermann
  1998-12-19 17:11 ` Larry Snyder
  2 siblings, 0 replies; 3+ messages in thread
From: David Monro @ 1998-12-19 12:12 UTC (permalink / raw)
  To: Bob Segrest; +Cc: axp-list

Read the manual page for dump. You can tell it how big the tape is, either with
the -B option, or this the -d density and -s feet options. It defaults to a
2500' tape at 1600BPI (which I think is an old reel-to-reel standard?). The
other option is to dump to stdout, in which case it assumes the tape is
infineite in length :-)

Oh btw, the calculations aren't as easy as one might think; 61000BPI on a 90M
tape doesn't give you the right answer either; the calculation doesn't work for
helical-scan tapes (how far does the head really travel?). Even with cartridge
tapes you have to be careful; eg a QIC150 cartridge is 600' long at 10000BPI,
but it has 18 tracks. Best just to use the -B option, or fake it untill it
works.

	David

> Greetings,
> 
> Well I made some progress today...  I discovered that my RedHat kernel was
> not built with SCSI tape support and then managed to build a new kernel.
> Now I can tar and dump files to my tape drive...
> 
> However, the dump command fails to recognize that a DAT tape writes at much
> higher density (61K bpi) than a mag tape transport and appears to be using
> a default density of 1600 bpi.  The net result is that dump needs more
> than 8 tapes to backup about 315MB of data on a tape transport capable of
> storing 2GB (uncompressed). 
> 
> Just as a test I used tar to backup the same 315MB of data to the same tape
> transport.  It worked without any problems, but tar is not a great utility
> when it comes to partial restoration of a large archive...
> 
> I looked into the taper utility, but when I issued the "taper -T /dev/st0"
> command it just came back with a "Illegal tape type" message....
> 
> Is anyone using a SCSI DAT tape transport with Linux ???
> 
> If so,
> 
>      What kind of DAT tape are you using ???
> 
>      What archive tool are you using ???
> 
> Bob Segrest
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linux DAT tape support
       [not found] <5518FE2C95E6D111B1A500104B72113B02042020@alfexc8.alf.dec.com>
  1998-12-19 12:12 ` Linux DAT tape support David Monro
@ 1998-12-19 16:36 ` Michal Jaegermann
  1998-12-19 17:11 ` Larry Snyder
  2 siblings, 0 replies; 3+ messages in thread
From: Michal Jaegermann @ 1998-12-19 16:36 UTC (permalink / raw)
  To: axp-list

> 
> However, the dump command fails to recognize that a DAT tape writes at much
> higher density (61K bpi) than a mag tape transport and appears to be using a
> default density of 1600 bpi.

'dump' command does not know anything about density but has a default
tape length - which is rather short one and which can be overriden
('man dump' for details).  A simple way which allows not to bother
with length and densities is to dump on stdout and redirect output
to a tape.  This will work as long as your whole dump **really**
fits on one tape.

> 
> Is anyone using a SCSI DAT tape transport with Linux ???

Yes.  For a long time.  On different machines and different processors.
It is not essentially different from using DAT drive on any other Unix box.

With many DAT drives you want to 'mt -f /dev/st0 setblk 0' in order
to use variable block size.  Your drive manual may have something
to say about that (otherwise run few experiments to see if this makes
any difference to you).

  Michal


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linux DAT tape support
       [not found] <5518FE2C95E6D111B1A500104B72113B02042020@alfexc8.alf.dec.com>
  1998-12-19 12:12 ` Linux DAT tape support David Monro
  1998-12-19 16:36 ` Michal Jaegermann
@ 1998-12-19 17:11 ` Larry Snyder
  2 siblings, 0 replies; 3+ messages in thread
From: Larry Snyder @ 1998-12-19 17:11 UTC (permalink / raw)
  To: axp-list

Bob Segrest <Bob.Segrest@digital.com> wrote:
> Greetings,
> 
> Well I made some progress today...  I discovered that my RedHat kernel was
> not built with SCSI tape support and then managed to build a new kernel.
> Now I can tar and dump files to my tape drive...
> 
> However, the dump command fails to recognize that a DAT tape writes at much
> higher density (61K bpi) than a mag tape transport and appears to be using a
> default density of 1600 bpi.  The net result is that dump needs more than 8
> tapes to backup about 315MB of data on a tape transport capable of storing
> 2GB (uncompressed).

I tried it two ways:
/sbin/dump 0f /dev/st0 /opt1  (~500M of misc. stuff)
Dump came back and said 13+ tapes.

The second way was
/sbin/dump 0fd /dev/st0 61000 /opt1

This put the whole thing on one tape (actually .72 tapes).  I might
have been able to drop that a bit with some blocksize tweaks.
> 
>  
> 
> Just as a test I used tar to backup the same 315MB of data to the same tape
> transport.  It worked without any problems, but tar is not a great utility
> when it comes to partial restoration of a large archive...
> 
> I looked into the taper utility, but when I issued the "taper -T /dev/st0"
> command it just came back with a "Illegal tape type" message....
> 
> Is anyone using a SCSI DAT tape transport with Linux ???
> 
> If so,
> 
> 	What kind of DAT tape are you using ???

This was with an HP C1533A and a DDS-90 tape.
> 
> 	What archive tool are you using ???
tar, usually
> 
> Bob Segrest
HTH,
-ls-


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-12-19 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5518FE2C95E6D111B1A500104B72113B02042020@alfexc8.alf.dec.com>
1998-12-19 12:12 ` Linux DAT tape support David Monro
1998-12-19 16:36 ` Michal Jaegermann
1998-12-19 17:11 ` Larry Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox