[NTLUG:Discuss] Drive becoming read-only after 40 minutes?!?
Steve Baker
steve at sjbaker.org
Wed Sep 19 16:10:23 CDT 2007
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
....in another window - so I know the precise time the thing locked up
from the last entry
in that file. There are no messages in /var/log/messages for 20 minutes
before it locked
up - and the first message after is a reboot message a few minutes later
when I hit the
reset button. But since the drive containing /var/log/messages is
marked read-only, this
doesn't really prove anything.
dmesg didn't show anything relevent either.
> Steve Baker wrote:
>
>> Thanks to everyones help a week or so ago, I have my HP Pavilion laptop
>> sitting here with it's harddrive removed, booting SuSE 10.2 from a 300Gb
>> UDB drive. It boots OK, runs just fine for ~40 minutes then quite
>> suddenly any access to the drive produces a message saying that I can't
>> write to the drive because it's read-only?!? I can still read from the
>> drive - and Linux seems to be running just fine (except for anything
>> that involves writing to disk.
>>
>> I've disabled power-save stuff wherever I can find it - and I even tried
>> writing to (and 'sync'-ing) the USB drive every 10 seconds with a little
>> shell script to make sure it doesn't go to sleep on me. Nothing helps.
>>
>> The 'mount' command still says that the disk is mounted R/W - but every
>> disk access produces a write-protect error.
>>
>> Rebooting the machine gives me another ~40 minutes.
>>
>> Help!
>>
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>>
>>
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list