[ltp] Hard disk shutdown
Ted Johansson
linux-thinkpad@linux-thinkpad.org
Mon, 21 Oct 2002 22:02:27 +0200
I have checked the /var/log/* files, and if some program writes to the
disk, the file date/times should reflect this, but no. I am not sure how
much ram is "too little", but there is 256 MB in my machine.
Is there any other way to check what applicaitons access the disk. I
found disk I/O howto pages
(http://www-2.cs.cmu.edu/~mukesh/hacks/spindown/x152.html) but this
requires re-building the kernel, and I am not too happy about this,
however it is an option.
Any suggestions what init.d daemons that may trigger disk access, and I
will try switching them off? I already tried turning autofs off, but no
difference.
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
>>
>>