Re: ata: printf on every spinup/spindown?

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 16 Mar 2009 20:02:58 +0000
In message <49BE7C5A.2080103_at_icyb.net.ua>, Andriy Gapon writes:

>I am playing with ata spindown feature and I think that it is really unnecessary
>to print a message each time ata driver is going to spindown a disk or let it be
>spinned up:
>ad6: Idle, spin down
>ad6: request while spun down, starting.
>ad6: drive spun down.
>ad6: Idle, spin down
>ad6: request while spun down, starting.

The reason I added the printf was to make it very annoying.

Spinning a disk up and down too often wears it out much faster than leaving
it running.

In general you do not want to spin a disk down unless it is going to stay
spun down for at least 15-30 minutes.

If dmesg is going to spin your disk up, then it will wake up every 5 minutes
due to the atrun message and you are clearly doing it wrong.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Mon Mar 16 2009 - 19:03:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC