From: John Hill <John.Hill@cern.ch>
To: Scott_boston@ensyte.com
Subject: Re: Help, I am using Digital UNIX V4.0
Date: 1999/04/16 [thread overview]
Message-ID: <37170E66.30A9@cern.ch> (raw)
In-Reply-To: 3716568f.7348776@news.primenet.com
Le Beaux wrote:
>
> Help, I am using Digital UNIX V4.0
>
> I am trying to untar files from a 4mm tape.
>
> When I
> #ls -lut /dev/rmt*
>
> I get
>
> crw-rw-rw- 1 root system 9,5122 Apr 15 13:58 /dev/rmt0h
> crw-rw-rw- 1 root system 9,5126 Apr 14 16:52 /dev/rmt0a
> crw-rw-rw- 1 root system 9,5120 Apr 14 16:37 /dev/rmt0l
> crw-rw-rw- 1 root system 9,5124 Apr 14 16:37 /dev/rmt0m
So you get a directory listing of devices in the /dev directory.
>
> Next I tried,
>
> #cd
> #tar cvf /dev/rmt0h bin
>
> and I get
>
> a bin
> a bin/setx 1 Blocks
As another poster mentioned, you just overwrite the tape (the "c"
option creates a tar file on the device (or disk file) specified
after the "f" option. I do hope you have a copy of the original
tape...
>
> However, when I try
> #tar tvf /dev/rmt0h
>
> tar: [offset 0]: I/O error
>
> Any guess on what this error could be from? Suggestions? Solutions?
> Anything?
>
Again another poster explained - you were trying to read tape after
the EOF.
Next time, you should:
1) Write protect any tape - at least then you can't overwrite your
data.
2) Use tar tvf /dev/rmt0h to check the contents of the tape.
3) Use tar xvf /dev/rmt0h to copy the contents of the tape to the
local directory (make sure this is where you want it to go).
> Email is appreciated. Thanks.
>
> -------
> Scott Boston
> Tech. Support Rep.
> ENSYTE Energy Software Int'l
> Scott_Boston@ensyte.com
Regards,
John Hill
next prev parent reply other threads:[~1999-04-16 4:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-15 4:00 Help, I am using Digital UNIX V4.0 Le Beaux
1999-04-15 4:00 ` Peter da Silva
1999-04-16 4:00 ` Le Beaux
1999-04-16 4:00 ` Peter da Silva
1999-04-17 4:00 ` Seppo Routimo
1999-04-16 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-04-16 4:00 ` John Hill [this message]
1999-04-16 4:00 ` deseim
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox