Logbackup failed - Error reading from the disk
Posted in 2014
Topics: Storage & Space Management, Logging & Checkpoints, Platform-Specific Issues
Hi, One of my test instance is giving following error while taking logs backup "Logbackup failed - Error reading from the disk, Error No. = 4." I am unable to backup logical logs and logs are full. IDS Version - 11.50.FC8W3 OS Version - SUN Solaris. Status of DB spaces-- f7a028 1 0x40001 1 3 2048 N B informix rootdbs_a09 11d661358 2 0x42001 2 1 2048 N TB informix tempdbs_a22 11d6614f0 4 0x40001 4 1 2048 N B informix logdbs_a09 11d661688 5 0x40001 17 4 2048 N B informix datadbs_a23 Status of DB Chunk-- address chunk/dbs offset size free bpages flags pathname 11af7a1c0 1 1 0 128000 98863 PO-BD /r/ids_space/rootdbs_a22 11d661a10 2 2 0 1048576 1048523 PO-B- /u/ids_space/tempdbs_a22 11d661c00 4 4 0 1536000 102347 PO-BD /l/ids_space/logdbs_a22 11d661820 9 1 0 256000 217241 PO-BD /r/ids_space/rootdbs_a22_1 11d661df0 10 1 0 1024000 773997 PO-BD /r/ids_space/rootdbs_a22_2 11d662028 17 5 0 4194304 29341 PO-BD /u/ids_space/datadbs_a23 11d662218 18 5 0 4194304 1 PO-BD /u/ids_space/datadbs_a23_1 11d662408 19 5 0 4194304 32412 PO-BD /u/ids_space/datadbs_a23_2 11d6625f8 20 5 0 2097152 2034747 PO-BD /u/ids_space/datadbs_a23_3 Kindly guide me to resolve this . Thanks.
Following error message is shown in Online log. ------------------- Message Log File: /u/informix/informix11.50.FC8W3/online_mcp22.log 00:42:38 Who: Session(13, informix@TestDB2, 28812, 11b0e1d80) Thread(108, logbackup, 11b0a6868, 1) File: rsbuff.c Line: 6232 00:42:38 Action: Please notify IBM Informix Technical Support. 00:42:38 stack trace for pid 28700 written to /u/informix/informix11.50.FC8W3/tmp/af.45420be 00:42:38 See Also: /u/informix/informix11.50.FC8W3/tmp/af.45420be Assertion Failure Type: Warning Host Name: TestDB2 Database Server Name: ids_mcp22 Time of failure: Tue Jun 24 00:42:39 NZST 2014 AF file: /u/informix/informix11.50.FC8W3/tmp/af.45420be Shared memory file: None System Blocking: OFF 00:42:39 I/O read chunk 4, pagenum 922228, pagecnt 64 --> errno = 2 SENDER IS NULL NO MAIL WILL BE SENT 00:42:39 Logical Log 44546 - Backup Aborted Error reading from the disk, Error No. = 4. ----------------------------- Following message is shown in af file 00:42:38 IBM Informix Dynamic Server Version 11.50.FC8W3 Software Serial Number AAA#B000000 00:42:38 Assert Warning: I/O read chunk 4, pagenum 922228, pagecnt 64 --> errno = 2 00:42:38 Who: Session(13, informix@TestDB2, 28812, 11b0e1d80) Thread(108, logbackup, 11b0a6868, 1) File: rsbuff.c Line: 6232 00:42:38 Action: Please notify IBM Informix Technical Support. 00:42:38 Raw hex dump of stack located in /u/informix/informix11.50.FC8W3/tmp/af.45420be.rawstk 00:42:38 Stack for thread: 108 logbackup -------
It would appear you have a disk failure on the disk containing the chunks which are holding your logical logs. If this had been mirrored (by raid or the engine) you could have replaced the disk, re-silvered and continued. As it is I suspect you will have to recover from an archive (after repacing the failed disk), However, as your first post indicated this is a test system then this shold not be too painful or involve business affecting loss of data. Keith On 23 June 2014 13:51, ABRAR RASHID <mabrar@i2cinc.com> wrote: > Following error message is shown in Online log. > > ------------------- > > Message Log File: /u/informix/informix11.50.FC8W3/online_mcp22.log > 00:42:38 Who: Session(13, informix@TestDB2, 28812, 11b0e1d80) > > Thread(108, logbackup, 11b0a6868, 1) > > File: rsbuff.c Line: 6232 > 00:42:38 Action: Please notify IBM Informix Technical Support. > 00:42:38 stack trace for pid 28700 written to > /u/informix/informix11.50.FC8W3/tmp/af.45420be > 00:42:38 See Also: /u/informix/informix11.50.FC8W3/tmp/af.45420be > Assertion Failure Type: Warning > Host Name: TestDB2 > Database Server Name: ids_mcp22 > Time of failure: Tue Jun 24 00:42:39 NZST 2014 > AF file: /u/informix/informix11.50.FC8W3/tmp/af.45420be > Shared memory file: None > System Blocking: OFF > > 00:42:39 I/O read chunk 4, pagenum 922228, pagecnt 64 --> errno = 2 > SENDER IS NULL NO MAIL WILL BE SENT > 00:42:39 Logical Log 44546 - Backup Aborted > > Error reading from the disk, Error No. = 4. > ----------------------------- > > Following message is shown in af file > > 00:42:38 IBM Informix Dynamic Server Version 11.50.FC8W3 Software Serial > Number AAA#B000000 > > 00:42:38 Assert Warning: I/O read chunk 4, pagenum 922228, pagecnt 64 --> > errno = 2 > 00:42:38 Who: Session(13, informix@TestDB2, 28812, 11b0e1d80) > > Thread(108, logbackup, 11b0a6868, 1) > > File: rsbuff.c Line: 6232 > 00:42:38 Action: Please notify IBM Informix Technical Support. > 00:42:38 Raw hex dump of stack located in > /u/informix/informix11.50.FC8W3/tmp/af.45420be.rawstk > 00:42:38 Stack for thread: 108 logbackup > ------- > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --047d7b2ed2012e2a2f04fc80aa78
This is the critical message:
00:42:39 I/O read chunk 4, pagenum 922228, pagecnt 64 --> errno = 2
There was a read error trying to read the logdbs chunk. You can try using
dd to read that chunk file/device to see if you can get a better error
message and go from there. If the disk/file/lun is bad, then you may have
to try to archive your instance, recreate the log chunk on good disk, and
restore the server. If you have to do that, I would take a dbexport of all
databases for safety first so that worst case you can rebuild the server
from the exports.
If nothing is wrong with the chunk, then open a PMR with IBM Support and
see what they find.
Art
Art S. Kagel, Principal Consultant
ASK Database Management
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on the IIUG, nor any other organization with which I am
associated either explicitly, implicitly, or by inference. Neither do
those opinions reflect those of other individuals affiliated with any
entity with which I am affiliated nor those of the entities themselves.
On Mon, Jun 23, 2014 at 8:51 AM, ABRAR RASHID <mabrar@i2cinc.com> wrote:
> Following error message is shown in Online log.
>
> -------------------
>
> Message Log File: /u/informix/informix11.50.FC8W3/online_mcp22.log
> 00:42:38 Who: Session(13, informix@TestDB2, 28812, 11b0e1d80)
>
> Thread(108, logbackup, 11b0a6868, 1)
>
> File: rsbuff.c Line: 6232
> 00:42:38 Action: Please notify IBM Informix Technical Support.
> 00:42:38 stack trace for pid 28700 written to
> /u/informix/informix11.50.FC8W3/tmp/af.45420be
> 00:42:38 See Also: /u/informix/informix11.50.FC8W3/tmp/af.45420be
> Assertion Failure Type: Warning
> Host Name: TestDB2
> Database Server Name: ids_mcp22
> Time of failure: Tue Jun 24 00:42:39 NZST 2014
> AF file: /u/informix/informix11.50.FC8W3/tmp/af.45420be
> Shared memory file: None
> System Blocking: OFF
>
> 00:42:39 I/O read chunk 4, pagenum 922228, pagecnt 64 --> errno = 2
> SENDER IS NULL NO MAIL WILL BE SENT
> 00:42:39 Logical Log 44546 - Backup Aborted
>
> Error reading from the disk, Error No. = 4.
> -----------------------------
>
> Following message is shown in af file
>
> 00:42:38 IBM Informix Dynamic Server Version 11.50.FC8W3 Software Serial
> Number AAA#B000000
>
> 00:42:38 Assert Warning: I/O read chunk 4, pagenum 922228, pagecnt 64 -->
> errno = 2
> 00:42:38 Who: Session(13, informix@TestDB2, 28812, 11b0e1d80)
>
> Thread(108, logbackup, 11b0a6868, 1)
>
> File: rsbuff.c Line: 6232
> 00:42:38 Action: Please notify IBM Informix Technical Support.
> 00:42:38 Raw hex dump of stack located in
> /u/informix/informix11.50.FC8W3/tmp/af.45420be.rawstk
> 00:42:38 Stack for thread: 108 logbackup
> -------
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--001a11c3eaaa0372ff04fc80c312