[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

support codefit com wrote:


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?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]