From owner-freebsd-current Tue Mar 21 23:26:24 2000 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 6921937C0A1 for ; Tue, 21 Mar 2000 23:26:20 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id IAA44014; Wed, 22 Mar 2000 08:26:07 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200003220726.IAA44014@freebsd.dk> Subject: Re: Reading from bad disk ? In-Reply-To: <200003212318.QAA26473@harmony.village.org> from Warner Losh at "Mar 21, 2000 04:18:18 pm" To: imp@village.org (Warner Losh) Date: Wed, 22 Mar 2000 08:26:07 +0100 (CET) Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), luigi@info.iet.unipi.it (Luigi Rizzo), current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Warner Losh wrote: > : >A comment: this is a 18GB IBM 7200 RPM disk and i noticed it tends > : >to become very hot compared to other disks when mounted in the > : >same machine (on a removable frame). Do others have the same > : >experience ? > > Yes. They run very hot. I had to steal an old powersupply fan and > mount it in front of the drive to get it to run at a reasonable > temperature. W/o the fan, it was running at 58C or so. With the fan > it runs at 39C or so. I've included the script that I use to find > this information out. Ken Merry sent it to me. It works on some IBM > drives. > > Warner > > #!/bin/sh > > TEMPC=`camcontrol cmd -v -n da -u 0 -c "4D 0 76 0 0 0 0 0 20 0" -i 32 "s9 i1"` > > TEMPF=`echo " 2 k $TEMPC 9 * 5 / 32 + p" | dc` > > echo "The temperature is: $TEMPF F $TEMPC C" Hmm, wonder if one can get that info from their ATA disks as well... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message