Did you issue a mount command? If so, what was it? And how big is the file you're trying to backup? Steve G,
Thomas David Rivers <[EMAIL PROTECTED]> Sent by: Linux on 390 Port <[email protected]> 05/16/2006 12:40 PM Please respond to Linux on 390 Port To: [email protected] cc: Subject: 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
