Ext3 Filesystem goes into read only mode on account of Raid Device Failure reported by mptbase driver on Red Hat Enterprise Linux 5.7

Solution Verified - Updated -

Issue

  • Filesystem goes into read-only mode after Raid device Failure with below errors :
# cat /var/log/messages
Mar 13 13:11:31 localhost kernel: lost page write due to I/O error on sdh1      <-------
Mar 13 13:11:31 localhost kernel: attempt to access beyond end of device
Mar 13 13:11:31 localhost kernel: sdh1: rw=1, want=6442455440, limit=4294921842
Mar 13 13:11:31 localhost kernel: attempt to access beyond end of device
Mar 13 13:11:31 localhost kernel: sdh1: rw=1, want=6467723728, limit=4294921842
Mar 13 13:11:31 localhost kernel: mptbase: ioc0: LogInfo(0x31120403): Originator={PL}, Code={Abort}, SubCode(0x0403)
Mar 13 13:11:31 localhost kernel: Aborting journal on device sdh1.
Mar 13 13:11:31 localhost kernel: journal commit I/O error
Mar 13 13:11:31 localhost kernel: ext3_abort called.
Mar 13 13:11:31 localhost kernel: EXT3-fs error (device sdh1): ext3_journal_start_sb: Detected aborted journal
Mar 13 13:11:31 localhost kernel: Remounting filesystem read-only
Mar 13 13:13:49 localhost kernel: __journal_remove_journal_head: freeing b_committed_data
Mar 13 17:36:17 localhost kernel: Buffer I/O error on device sdb, logical block 4  <---------
Mar 13 17:36:17 localhost kernel: Buffer I/O error on device sdb, logical block 5
Mar 13 17:36:17 localhost kernel: Buffer I/O error on device sdb, logical block 6
# dumpe2fs -h /dev/sdh1 | grep -i clean
Filesystem state:         clean              <-------
# cat /proc/mounts |grep sdh1
/dev/sdh1 /u05 ext3 ro,data=ordered 0 0      <-------
  • The third party driver in use:
filename:       /lib/modules/2.6.18-274.el5/extra/mptscsih.ko
version:        4.00.38.02                  ^^^^^     <--------
license:        GPL
description:    Fusion MPT SCSI Host driver
author:         LSI Corporation
srcversion:     C5F0DC4BC685F11BB5AC8B5
depends:        scsi_mod,mptbase,mptbase
vermagic:       2.6.18-274.el5 SMP mod_unload gcc-4.1

Environment

  • Red Hat Enterprise Linux 5.7
  • Kernel 2.6.18-274.el5
  • Raid Driver mptbase/
  • Fusion-MPT SAS controllers
    • RAID device LSI Logic / Symbios Logic MegaRAID SAS 2108 (rev 05)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.