Ext3 - Frequent read-only FS issues

Eric Sandeen sandeen at redhat.com
Tue Mar 24 15:25:43 UTC 2009


Steven Chervets wrote:
> Dushyanth,
> 
> If you have the disk write-cache enabled it means that any power  
> outage can cause file system corruption.  I would suggest that you put  
> a battery in your disk controller and enable the write-cache on it,  
> and at the same time, disable the write-cache on the disk itself.
> 
> If you can't get your hands on a battery, then disabled the write- 
> cache on the hard disk and see if you get any more file system  
> corruption errors.
> 
> Good Luck,
> Steve

If you think it could be write-cache related, just mount with -o
barrier=1, and see if things get better.  (or disable write cache on the
disks with hdparm as Steve suggests)

Do you lose power much?  Do these errors correspond to power loss events?

-Eric




More information about the Ext3-users mailing list