cancel
Showing results for 
Search instead for 
Did you mean: 

fbackup errors

 
EU-Admins-UNIX
Regular Advisor

fbackup errors

Hi

 

Got an issue with fbackup.

 

Backups have failed recently with the errlog saying:

 

fbackup(1004): session begins on Fri Oct 21 00:16:09 2011
fbackup(3203): volume 1 has been used 5 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/2m
fbackup(3013): WRITE ERROR while writing data record, at media record 355
fbackup(3102): attempting to make this volume salvagable
fbackup(3123): could not read the previous checkpoint record
fbackup(3105): writing 2 EOFs and rewinding the tape
fbackup(3106): please mount a good tape
fbackup(3310): enter '^[yY]' when volume 1 is ready on /dev/rmt/2m,
 or '^[nN]' to discontinue:
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit

 

I have tried to frecover, but I get:

 

root@apollo at /var/adm/fbackupfiles =>frecover -I /tmp/index -f /dev/rmt/2m
frecover(2105): did not find expected file marker
frecover(5409): unable to read volume header
frecover(5418): not an fbackup volume; unable to read volume header
frecover(2105): did not find expected file marker
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN]) n
frecover(5411): Do you wish to try a different volume? (^[yY]/^[nN]) n

 

We are using a graph file, the command being:

 

fbackup -g $gfile -f $backupdev -c /var/adm/fbackupfiles/config >$errlog 2>&1

 

gfile is

 

i       /
e       /dev
e       /var
e       /progtmp
e       /scratch/sap
e       /opt/coins9/live/data/
e       /opt/coins9/live/data/ai
i       /opt/coins9/live/data/ai/save
i       /opt/coins9/live/data/ai/save2
e       /opt/data/prod/rorwork
e       /opt/data/prod/mars
e       /opt/ai
e       /opt/bi/prod/rorwork
i       /opt/ai/prod/rorwork/save
i       /opt/ai/prod/rorwork/save2
e       /opt/coins9/live/var/ECDir/ecommerce.log
e       /net
e       /opt/coins9/live/var/spool
e       /OLD/optcoins9live
e       /MIGRATION
e       /BACKUP
e       /tmp
e       /usr/local/scripts/firstb2b/pid
e       /usr/local/scripts/asitelor/pid
e       /opt/coins9/live/var/diag
e       /opt/coins9/live/var/ECFDir

 

config file is:

 

blocksperrecord 1024
records 64
checkpointfreq 2048
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 200

 

backupdev is:

 

/dev/rmt/2m

 

Have tried swapping out drives and cables, but the OS will not ioscan any new hardware. 

 

OS is 11v3, patched to March 2011, drive is LTO4 StorageWorks 1840.

 

Drive has been cleaned.

 

Thanks

 

Tariq

 

2 REPLIES
Torsten.
Acclaimed Contributor

Re: fbackup errors

>> Have tried swapping out drives and cables, but the OS will not ioscan any new hardware.

Online without reboot? Special commands (scsimgr) are needed!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: fbackup errors

Let's say the replaced tape is tape8:

 

check with

# ioscan -m lun | grep tape

 

# scsimgr -p get_attr all_lun -a hw_path -a device_file -a wwid -a serial_number | grep tape

and

 

do

 

# scsimgr -f replace_wwid -D  /dev/rtape/tape8_BEST dsf
scsimgr: Successfully validated binding of LUN paths with new LUN.
Device special file of replaced LUN successfully re-assigned to replacing LUN

 

Check with

 

# ioscan -m lun | grep tape


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!