[ltp] Hard disk shutdown

Ted Johansson linux-thinkpad@linux-thinkpad.org
Mon, 21 Oct 2002 23:34:56 +0200


Done some more testing...
Although most of the syslogs where set to async writing, log files were 
written (contrary to what I said in the last mail). Identified one by 
one and all troublesomes are really switched off (not a permanent 
solution). Why this happens, I don't know.
Still, the disk is only silent for 10-20 seconds.

Have turned off syslogd/klogd. Still only silent for a few seconds.

Continued to kill almost all of the daemons with the same negative result.

I think it is the kjournald that is causing this, I know it is related 
to ext3, but why does it have to run when I am only using ext2?



Regards,   Ted


Tod Harter wrote:

>On Sunday 20 October 2002 12:53 pm, Ted Johansson wrote:
>
>Could it be swapping for some reason? That would generally imply something is 
>actually happening. noflush really should take care of your problems 
>otherwise. All I can think of is that syslog/klog is writing synchronously to 
>the hard drive, and when you use noflush there is too little free ram for its 
>caching to be effective? Just a wild guess. 
>
>  
>
>>*** List MOVED use linux-thinkpad@linux-thinkpad.org for future postings
>>***
>>
>>T21 running MDK9.0, PCMCIA wlan network and usb-mouse. Automounting an
>>nfs samba disk for my own file directory.
>>
>>I am trying to have the hard disk stop after X min of inactivity. The
>>computer is in the living room and often just left on for long time.
>>
>>I changed from ext3 to ext2, added the "noatime" parameter in fstab,
>>also tried noflush from sourceforge with 1 min (for testing purpose)
>>timeout, but the disk still only stops for a few seconds. Same if I set
>>a very short timeout using hdparm.
>>
>>Any more suggested tricks to get this working?
>>
>>
>>
>>Regards,   Ted
>>    
>>