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

Steve Baker steve at sjbaker.org
Thu Sep 20 13:36:48 CDT 2007


Wayne Walker wrote:
> edit /etc/syslog.conf and add
>
> *.*		/dev/tty12
>
> Restart syslog.  Pres Alt-F12, watch the system messages ...
>   
Nothing - blank screen.
> 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
>   
hdparm reports

/dev/sda:
 HDIO_GET_32BIT failed: Invalid argument
 HDIO_GET_UNMASKINTR failed: Invalid argument
 HDIO_GET_DMA failed: Invalid argument
 HDIO_GET_KEEPSETTINGS failed: Invalid argument
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 38913/255/63, sectors = 625142448, start = 0

...both before AND after the problem.




More information about the Discuss mailing list