On Sat, Jan 24, 2004 at 12:48:11AM +0100, Marc Mongenet wrote: > J'ai un disque IDE 80 Go (WDC WD800JB-00CRA1) que j'arrive � > mettre au repos imm�diat avec `hdparm -y /dev/hda`, mais pas > diff�r� avec `hdparm -S 1 /dev/hda`, malgr� le message > prometteur suivant : > > # hdparm -S 1 /dev/hda > > /dev/hda: > setting standby to 1 (5 seconds) > # hdparm -V > hdparm v4.5 > # > > Je n'ai rien trouv� dans le BIOS ni dans la config du noyau � > ce propos. Que puis-je faire d'autre pour le repos de mes > oreilles ?
You need to be sure that no process is writing/flushing to the disk every 5 seconds or less before the disk will spin down and stay down. I use the following commands to make my old laptop/wireless-stereo-relay quieter. The "bdflush" and "swapoff" lines are the most important. [EMAIL PROTECTED]:~$ cat /usr/local/bin/shutup #/etc/rc.d/ledd stop /sbin/hdparm -k1 -S1 /dev/hda echo -ne '40 500 64 256 500 36000 36000 1884 2' > /proc/sys/vm/bdflush swapoff -a /etc/init.d/apache stop /etc/init.d/atd stop /etc/init.d/cron stop /etc/init.d/postfix stop /etc/init.d/lprng stop killall dhclient-2.2.x killall cardmgr mount -o remount,ro / -- Erik Rossen [EMAIL PROTECTED] Tel: (41 22) 362 45 08 http://www.linux-gull.ch OpenPGP key: 2935D0B9 _______________________________________________ gull mailing list [EMAIL PROTECTED] http://lists.alphanet.ch/mailman/listinfo/gull
