Operating System - HP-UX
1833758 Members
2428 Online
110063 Solutions
New Discussion

frecover "frecover(2104): zero length read from disk file. Frecover exiting"

 
Laura Davis_4
New Member

frecover "frecover(2104): zero length read from disk file. Frecover exiting"

Newbie here - go easy on me. We have a customer whom we need to restore a file from, because their back up is unusable. They apparently wrote over the file making the backup on the hard drive - with the same name of the file that they are in need of. When we try to recover, we get the error above. Even a partial recovery would be worthwhile! File size is over 2 GB.
1 REPLY 1
vinod_25
Valued Contributor

Re: frecover "frecover(2104): zero length read from disk file. Frecover exiting"

Hi Dave

To workaround this problem you need to include the dd command as seen below to reblock the input data for frecover into 4k chunks.

This will allow you to successfully perform the frecover.

$ fbackup -i . -f - | remsh sysa "dd obs=4k | /usr/sbin/frecover -rvf - "
fbackup(1004): session begins on Mon Aug 7 11:21:05 2000
fbackup(3024): writing volume 1 to the output file -
-rw-r----- 2772 38 nt/tomb_005.tar.gz
-rw-r----- 2772 38 nt/tomb_006.tar.gz
-rw------- 2772 38 nt/ts96.first
-rw------- 2772 38 nt/ts97.another
-rw------- 2772 38 nt/ts98.secondlast
354+79 records in
52+1 records out
-rw------- 2772 38 nt/ts99.last

Note: This problem has been seen between HP-UX 10.x systems but does not seem to happen from 11.x to 10.x and between 11.x systems. If you experience the problem on you should insert and leave the dd command

Good Luck !!!

Vinod