Hi Jose,
I am not familiar to the DB2 backup process, but what looks strange to me,
is that the db2 restore seems to use the tape blockdevice (/dev/btibm0). Is
the backup really written as an ISO 9660 file to the tape and is the tape
mounted as a blockdevice afterwards for db2 restore? If not, /dev/btibm0 is
the wrong device to use in the pedro script. It should be /dev/rtibm0 or
/dev/ntibm0.
Michael
------------------------------------------------------------------------
Linux for E-Server Development
Phone: +49-7031-16-2360, Bld 71032-03-U09
Email: [EMAIL PROTECTED]
>
> Jose Raul Baron <[EMAIL PROTECTED]>
> Sent by: Linux on 390 Port <[email protected]>
>
> 07.04.2006 00:39
>
> Please respond to
> Linux on 390 Port <[email protected]>
>
> To
>
> [email protected]
>
> cc
>
> Subject
>
> SLES9 DB2 Restore Problem with 3590 tapes
>
> Hi, all. I am currently trying to restore a DB2 backup copy I had done
into
> 3590 tape.
>
> I proceeded like this:
>
> BACKUP
> ======
> - modprobe tape_3590
> - chccwdev -e 0.0.0800
> - mt -f /dev/rtibm0 setblk 2048
> - chmod +777 /dev/rtibm0
> - db2 backup db lnxr89 to /dev/rtibm0 compress
>
> RESTORE
> =======
> - Executed pedro.sh (a restore script)
> - It executed fine until the db2 restore itself. Then, after 30-40
minutes
> of successful execution it suddenly got cancelled.
>
> It wasn't just a restore cancelation, not even a DB2 cancellation but a
> WHOLE-LINUX-CANCELLATION !!!!!!!!
> All because of a tape error !!!!!!!! How can it be ??? What am I doing
> wrong ?
>
> I am enclosing the LINUX console for more information.
>
> HELP Please !!
>
>
> brgds,
>
>
> José R. Barón
> Dpto. Sistemas
> CALCULO S. A.
> Tel. 91 330 86 44
> e-mail: [EMAIL PROTECTED]
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> [attachment "casque.txt" deleted by Michael Holzheu/Germany/IBM]
> [attachment "pedro script.txt" deleted by Michael Holzheu/Germany/IBM]
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390