Re: Error on running tar -zxvf /dev/st0

Randy Kelsoe <[email protected]> Sat, 13 Sep 2003 22:53:25 -0500
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
[email protected] wrote:

>Hi,
>
>I tried the command and got -
>
>[root@www /]# tar tvf /dev/st0
>tar: /dev/st0: Cannot read: Cannot allocate memory
>tar: At beginning of tape, quitting now
>tar: Error is not recoverable: exiting now
>[root@www /]#
>  
>
What OS was used to create the tape?

>>Are you sure tar was used to store it to tape?
>>    
>>
>
>I'm running Red Hat Linux 8, 2.4.x kernel.  I'm using Mondo Rescue for the
>tape backups.
>
Did you use Mondo to create this particular tape?

This error looks like one that I get when I try to read a tar tape on an 
SGI machine that was created on an HP machine. To get it to work, I have 
to use a different device file (on an SGI machine, it's something like 
/dev/rmt/tps0d4ns). Not being familiar with Mondo, I don't know if tar 
can read Mondo's format. You could do an  'ls /dev/st0*' and try the 
different tape devices you find.

tar tvf /dev/st0a
tar tvf /dev/st0l     .......

but my guess is that if it's a Mondo created tape you might have to use 
something like mondorestore..... Jesse, can you shed some light on this?




-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list