Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* tar
@ 1998-09-08  4:00 yapkokle
  1998-09-23  4:00 ` tar John McNulty
  0 siblings, 1 reply; 2+ messages in thread
From: yapkokle @ 1998-09-08  4:00 UTC (permalink / raw)


Hi,
Please help.
I have this problem:
I cannot read out a tape content to my unix box.

The files are tar-ed into a tape (DDS2, 120 meter, HP brand) using
Digital brand tape drive, compatability: DDS(90metre), DDS-2(120Metre),
with
Digital unix box (unix version no is 7.0.1). Blocking factor defaulted to
20.

This tape is then taken to another HP unix box with HP brand DDS3 tape
drive
to un-tar. The command I used is: tar -tvf /dev/rmt/0m
I also tried specifying blocking factor of 20 and 1, but to no avail.

However, the HP unix keeps complaining tape read error. I can't even list
the table of content for the tape.

Anyone out there has any idea what goes wrong? Any reply will be greatly
appreciated. Thank you.

regards,
Kok Leong

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum



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

* Re: tar
  1998-09-08  4:00 tar yapkokle
@ 1998-09-23  4:00 ` John McNulty
  0 siblings, 0 replies; 2+ messages in thread
From: John McNulty @ 1998-09-23  4:00 UTC (permalink / raw)



I don't have an HP box to hand, so this is guess work, but try just
reading the tape and throwing away the contents.

 #  dd if=/dev/rmt/0m of=/dev/null

if you get errors doing this, then you could have:

  a) a duff tape drive on your HP box.
  b) a duff tape drive on your DEC box.  Have you tried reading it back on
     the DEC system?
  c) If (a) and (b) check out and both drives can happily write and read
     their own tapes, then it could be a head alignment problem between
     the two tape drives.

But if that works, then try this:

 # dd if=/dev/rmt/0m  |  tar tf -

You may need to add and fiddle with the 'bs' option to dd(1) to get the
tape to stream properly. 

Another idea .. the HP device name "/dev/rmt/0m" .. does the "m" mean
medium density?  And did you write the tape on the DEC box using rmt0h,
where "h" is high density (ie: hardware compression).  If so, then it's
no wonder you can't read the tape.  Does HP-UX give you more choices of
device names?

Those are the only ideas I have ..

John
--------------------------------------------------------
John McNulty                     | Email: jm@uvo.dec.com
UK CSC, Unix Support Group       | Tel: (44) 118 9206244
Digital Equipment Corporation    | DTN: 830-6244

Disclaimer:  The views expressed are the author's alone,
and not necessarily those of DIGITAL Equipment Corporation



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

end of thread, other threads:[~1998-09-23  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-08  4:00 tar yapkokle
1998-09-23  4:00 ` tar John McNulty

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