Tape Libraries and Drives
cancel
Showing results for 
Search instead for 
Did you mean: 

Auto lodaer- I/O error

Kannandgl_1
Frequent Advisor

Auto lodaer- I/O error

Hi Dears,

We are facing I/O read error in my auto loader..

error mgs[syslog]:Apr 22 09:52:33 hogisdata1 vmunix: SCSI TAPE: dev = 0xcd024000 I/O error during.
i will check the cable and tape also.
-----------------------------------------
# fbackup -f /dev/rmt/0m -i /redolog
fbackup(1004): session begins on Tue Apr 22 10:04:15 2008
fbackup(3205): WARNING: unable to read a volume header
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(9999): I/O error
fbackup(3108): write error on a record in the ANSII label
fbackup(3025): write error at the beginning of the volume
fbackup(3310): enter '^[yY]' when volume 1 is ready on /dev/rmt/0m,
or '^[nN]' to discontinue:
n
fbackup(3019): would you like to enter a new output file?
n
fbackup(3022): would you like to continue this session?
n
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
-------------------------------------------
pls any one help in this issue..

Regards
Kannan

3 REPLIES
Steven E. Protter
Exalted Contributor

Re: Auto lodaer- I/O error

Shalom Kannan,

My experience is that fbackup does not contain the necessary code to deal with tape changes in an auto loader.

You might need to go to a more advanced backup solution to deal with this complex tape hardware.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: Auto lodaer- I/O error

Some basic first steps:

(you did not specify the autoloader model)

- check cables
- clean drive (if needed)
- use new tape
- install LTT and pull a support ticket

http://www.hp.com/support/tapetools

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!   
Alexander M. Ermes
Honored Contributor

Re: Auto lodaer- I/O error

Hi there.
Perhabes you can try this :

#!/sbin/sh

today_=`date +'%y-%m-%d'`; export today_
#
#
PATH=$PATH:/usr/local/bin
export PATH
exec > /usr/tmp/fbackup_sys_${today_}.log 2>&1
####################
# move tape to drive

mc -p /dev/rscsi/robotic -s S8 -d D1

####################
# run fbackup on tape 1
/usr/sam/lbin/br_backup TAPE_DEVICE FULL Y /dev/rmt/0m /var/sam/graphBCAa11708 root Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup

####################
# set tapedrive offline
mt -t /dev/rmt/0m offline

####################
# move tape from drive to slot
mc -p /dev/rscsi/robotic -s D1 -d S8

####################
# rename logfile
cp /var/sam/log/br_index.full /var/sam/log/br_index_sys.full.${today_}_1

####################
# and the game begins again
mc -p /dev/rscsi/robotic -s S7 -d D1

/usr/sam/lbin/br_backup TAPE_DEVICE FULL Y /dev/rmt/0m /var/sam/graphBCAa23099 root Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup

mt -t /dev/rmt/0m offline
mc -p /dev/rscsi/robotic -s D1 -d S7

cp /var/sam/log/br_index.full /var/sam/log/br_index_sys.full.${today_}_2

mc -p /dev/rscsi/robotic -s S6 -d D1

/usr/sam/lbin/br_backup TAPE_DEVICE FULL Y /dev/rmt/0m /var/sam/graphEHAa11708 root Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup

mt -t /dev/rmt/0m offline
mc -p /dev/rscsi/robotic -s D1 -d S6

cp /var/sam/log/br_index.full /var/sam/log/br_index_sys.full.${today_}_1
echo "Time is: `/bin/date`"

.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"