Is it possible that DB2 uses a block size above 63K? That might be a 
reason to get -EINVAL
on write.

Regards,
Stefan Bader

SW Linux on zSeries Development & Services
[EMAIL PROTECTED]
----------------------------------------------------------------------------------
  When all other means of communication fail, try words.

Linux on 390 Port <[email protected]> wrote on 22.03.2006 11:54:45:

> Hi list, 
> 
> We have a problem using tapes 3590 (/dev/rtibm0) for DB2 backup 
purposes. 
> These are the symptoms: 
> 
> - We can use the 3590 tape drives correctly. That means we can tar -cvf 
any
> file/s. 
> - We can get into DB2 (user db2inst1) and EXPORT individual tables into 
3590
> tape drives perfectly. 
> - What CANNOT DO is to DB2 BACKUP a database into a 3590 tape drive due 
to
> the following error: 
> 
> > db2 backup db lnxr89 to /dev/rtibm0
> SQL2031W  Warning! Please mount the target or source media on device
> "/dev/rtibm0".
> Do you want to continue(c), terminate this device only(d), abort the
> utility(t) ? (c/d/t) 
> c
> SQL2059W  A device full warning was encountered on device "/dev/rtibm0".
> Do you want to continue(c), terminate this device only(d), abort the
> utility(t) ? (c/d/t) 
> t
> SQL2001N  The utility was interrupted.  The output data may be 
incomplete.
> >
> 
> I enclose file DB2DIAG.LOG just in case that anyone can interpret it. 
It's
> not an end-of-tape condition (tape is rewound). I simply can't imagine 
what
> it is. I know what it is NOT: 
> 
> - It is not a matter of permissions.
> - It is not a tape-protected condition. 
> - It is not an end-of-tape condition. 
> - It is not a DB2-not-recognizing-3590-tape-drive condition. 
> 
> 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 "DB2DIAG.LOG" deleted by Stefan Bader/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

Reply via email to