Jose Raul Baron <[EMAIL PROTECTED]> wrote:
>
> Hi group,
>
> I am currently trying to backup a db into a smbfs via the command:
> db2 backup db <mydb> to /mnt/smb_disk compress
> but I have the following error:
>
> SQL2025N An I/O error "4" occurred on media
> "/mnt/smb_disk/LNXE89.0.db2inst1.NODE0000.CATN0000.20060516182813.0".
>
Could that be errno #4 - which is EINTR? /* Interrupted system call */
EINTR can happen for a write() function according to the write()
man page:
EINTR The call was interrupted by a signal before any
data was written.
Perhaps the DB2 people could better explain the message and tell
you what the "4" means? You may want to try and look up
SQL2025N. From the IBM manual:
==============================================
SQL2025N An I/O error "<code>" occurred on media "<dir/devices>".
Cause: An I/O error occurred while accessing a file on the specified media.
The utility stops processing.
Action: Record the error return code. Determine whether the I/O error can
be corrected.
==============================================
It doesn't seem to tell you what the "code" could be.
Also, I believe you can type:
SQL2025N
at the DB2 CLP prompt to get a description.
Hope that helps.
- Dave Rivers -
--
[EMAIL PROTECTED] Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
----------------------------------------------------------------------
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