On Sat, 26 Feb 2005, Christian Iversen wrote:

> 
> Whenever I use --verify for tar, I get problems. Specifically, I get 
> "Illegal seek" when tar gets to the verify phase. 
> 
I looked at tar 1.13.25 sources and this looks like a tar bug: verify from 
tape does not work for the first file (and I am not sure about other 
files). After writing, tar tries to skip backwards over two filemarks. 
When writing the first file, there is no second filemark to skip over: 
this fails and gives you the error. If you do verify with a second call to 
tar (tar --compare) after skipping backwards with mt, this should work.

...
> Please note that I can restore the data just fine, if I use tar. If I try to 
> use dd, I get strange errors as well:
> 
> [EMAIL PROTECTED]/tmp #dd if=/dev/tape of=dump
> dd: reading `/dev/tape': Cannot allocate memory
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 3,699040 seconds (0 bytes/sec)
> 
Guy already solved this problem. The message (Cannot allocate memory) is 
not very clear but this is what other Unices use.

-- 
Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to