[NTLUG:Discuss] Drive becoming read-only after 40 minutes?!?

Wayne Walker wwalker at bybent.com
Wed Sep 19 21:54:27 CDT 2007


On Wed, Sep 19, 2007 at 04:10:23PM -0500, Steve Baker wrote:
> Daniel Hauck wrote:
> > The only time I have seen drives go read-only is when errors are 
> > detected on the drive. Check your dmesg and/or /var/log/messages file
> >   
> 
> Well, I did look - but I was running:
> 
> while 1
> sleep 10
> date >> ~/file
> sync
> end
edit /etc/syslog.conf and add

*.*		/dev/tty12

Restart syslog.  Pres Alt-F12, watch the system messages ...
May see stuff that couldn't be written to the read only disk.

Also try:

while true
sleep 10
date
hdparm /dev/sda | grep readonly
done

-- 

Wayne Walker

# Code comments are lies waiting to happen

wwalker at bybent.com                    Do you use Linux?!
http://www.bybent.com                 Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/           Perl User Groups - http://www.pm.org/
Jabber:  wwalker at jabber.gnumber.com   AIM:     lwwalkerbybent
IRC:     wwalker on freenode.net



More information about the Discuss mailing list