1825768 Members
2011 Online
109687 Solutions
New Discussion

Re: frecover error

 
SOLVED
Go to solution
simon_82
Advisor

frecover error

Hi
I am trying to restore an area on the system
by running :
frecover -F -xvf /dev/rmt/0m
-g /tmp/tape/dbf.txt

when this runs it calls the dbf.txt file which contains the files needed to be restored with a i in front.

The problem is i keep getting an error message saying as followed :
frecover(3249): unable to open graph file /tmp/tape/dbf.txt

can anyone advise me what this is as i have checked permission and even given 777 on dbf.txt.

Regards
Simon

8 REPLIES 8
Stefan Farrelly
Honored Contributor
Solution

Re: frecover error

The order needs to be different, eg;

frecover -X -x -v -g /tmp/g -f /dev/rmt/1m
Im from Palmerston North, New Zealand, but somehow ended up in London...
Michael Tully
Honored Contributor

Re: frecover error

Try the frecover like this:

# frecover -xFvg /tmp/tape/dbf.txt -f /dev/rmt/0m
Anyone for a Mutiny ?
twang
Honored Contributor

Re: frecover error

To recover a list of particular FILEs using graph files which contain the list of file names to be recovered or skipped.:
# frecover -x -g /tmp/tape/dbf.txt -f /dev/rmt/0m
simon_82
Advisor

Re: frecover error

Hi
I have tried this and am still getting the same error message.
so i did a dd if=/dev/rmt/0m of=/dev/null bs=1 count=1 which showed:
1+0 records in
1+0 records out

so i know the tapes ok i have also restored of this tape before and all wa ok.

any idea why i would get frecover(3249): unable to open graph file /tmp/tape/dbf.txt

Regards
Simon
twang
Honored Contributor

Re: frecover error

Do you try to recover a single file and see:

# frecover -x -i /path/filename -f /dev/rmt/0m
Darren Prior
Honored Contributor

Re: frecover error

Hi Simon,

Did you create the graphfile on a pc by any chance? If so, then you should run dos2ux on the file as it will have different end of line characters which could confuse frecover.

regards,

Darren.

PS: Please consider assigning points to those that have provided help - it helps others find useful answers.
Calm down. It's only ones and zeros...
Michael Tully
Honored Contributor

Re: frecover error

How about we make sure of the contents of the tape:

# frecover -I /tmp/tape.out -f /dev/rmt/0m

Perhaps there is something wrong with the syntax of your graph file.
Can you show us, a few lines from it and compare it with the index as used above?
Anyone for a Mutiny ?
simon_82
Advisor

Re: frecover error

Hi Guys

What i have done is recreated the graph file and all works ok.

Thanks
Simon