Operating System - HP-UX
1751966 Members
4644 Online
108783 Solutions
New Discussion

Re: Exit Code of 2 with my LTO3 tapes

 
dx12180
Occasional Advisor

Re: Exit Code of 2 with my LTO3 tapes

Today, I got an exit code of 4. Couple of things I changed.

 

1. I changed where the log file location within the script

2. Changed the blocksperrocord from 32 to 128 in fbackup config file

3. Changed the checkpointfreq from 32 to 256 in fbackup config file

 

 

Here is the results from my log file: Not sure why the last line was cut off after "WARNI"

 

 

br_backup: Invoking fbackup. See /var/sam/log/br_log for details.
fbackup(1004): session begins on Thu Aug 22 20:15:01 2013
fbackup(1517): /comp not backed up - 'n' option (NFS) not specified
fbackup(3203): volume 1 has been used 2 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/4mn
fbackup(1102): WARNING: unable to stat file /opt/simpana/iDataAgent/jobResults/2/1019/Failu
res.cvf
fbackup(3005): WARNING: file number 85876 was NOT backed up
fbackup(1102): WARNING: unable to stat file /opt/simpana/iDataAgent/jobResults/2/1021/Failu
res.cvf
fbackup(1102): WARNING: unable to stat file /opt/simpana/iDataAgent/jobResults/CV_JobResult
s/2/0/753727
fbackup(1102): WARNING: unable to stat file /opt/simpana/iDataAgent/jobResults/CV_JobResult
s/2/0/753727/State
fbackup(1102): WARNING: unable to stat file /opt/simpana/iDataAgent/jobResults/CV_JobResult
s/2/0/753727/backup.out
fbackup(1102): WARNING: unable to stat file /opt/simpana/iDataAgent/jobResults/CV_JobResult
s/2/0/753727/raw.log
fbackup(3005): WARNI

 

 

 

 

Bill Hassell
Honored Contributor

Re: Exit Code of 2 with my LTO3 tapes

>> Changed the blocksperrocord ...

 

fbackup has a very archaic (read: reel-to-reel) default for records. Not only is it inefficient, but it will be quite slow.

Replace your config file with these values:

 

blocksperrecord 4096
records 64
checkpointfreq 4096
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000

 This should improve your performance significantly.

 

 

 



Bill Hassell, sysadmin