I have installed amanda 2.4.2p2 on a Alpha machine with OSF V4.0.
Almost everything works.  When I do amverify, it fails.  During the
investigation I have pin point the problem.  

Looking into the script file amverify, inside the function doonefile,
when it tries to parse the header of one backup.  There is the
following command:

HEADER=`$DD bs=512 count=64 | ( sed 1q ; cat > /dev/null )`

The stranged thing is if I change to the following, it works better.

HEADER=`$DD bs=1 count=32767 | ( sed 1q ; cat > /dev/null )`

This change don't make sense to me, but works better.

During my investigation I have found that everythings is writen rigth
to the tape.  If I dd from tape to a file or with amrestore I found no
problem.  If I use amverify, during the parsing the header are
consumed too many bytes that belongs to the tar file, that follow it.

I am asking for help, to find the problem or solve it.

      Jose Calhariz



-- 
        Quando ha milhares de motivos para se odiar uma pessoa mas 
        so um para ama-la ; este ultimo prevalece.
                -- Anonimo

Reply via email to