Thanks Dave. Yes, I have been looking through the IBM manuals and the
internet DB2 Information Center but it seems like the DB2 guys simply did a
Copy-Paste with the same information everywhere so it says exactly the same
everywhere that I have been looking to :-(

 





Saludos,


José R. Barón
Dpto. Sistemas
CALCULO S. A.
Tel. 91 330 86 44
e-mail: [EMAIL PROTECTED] 

-----Mensaje original-----
De: Linux on 390 Port [mailto:[EMAIL PROTECTED] En nombre de Thomas
David Rivers
Enviado el: martes, 16 de mayo de 2006 19:41
Para: [email protected]
Asunto: Re: DB2 Backup into Samba Filesystem

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

----------------------------------------------------------------------
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