From owner-freebsd-questions@freebsd.org Sat Jun 15 05:21:26 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EEEC15BC3D5 for ; Sat, 15 Jun 2019 05:21:26 +0000 (UTC) (envelope-from matthias@smormegpa.no) Received: from mailrelay2-1.pub.mailoutpod1-cph3.one.com (mailrelay2-1.pub.mailoutpod1-cph3.one.com [46.30.210.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E1058E555 for ; Sat, 15 Jun 2019 05:21:24 +0000 (UTC) (envelope-from matthias@smormegpa.no) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smormegpa.no; s=20140924; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=9BdBV8XFcygmsaQag3k+Ni+NBrmXJbEXdM5Da3T6SJM=; b=gArYcOItOmrgCNBE0cp613FCwfgHo8Q8jISoOoFCHMuBtPLOkbKTgyGZscqr/DedNexYYYiUEuUOV Y3moujhxlyqcBMr5/qhliQIxtgCWrD9dTkIep8Rw/5qMRWEF9eNV8ot1kVYa1FF4vDd2mqGYDi6C6j Ia6QwpcUajwwgZI4= X-HalOne-Cookie: 9a87700132bb23a17e46d2b2878d8935bd07b617 X-HalOne-ID: 2734cdd6-8f2b-11e9-81ca-d0431ea8a290 Received: from picadelly.monsieur.mathieu (unknown [85.166.11.66]) by mailrelay2.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 2734cdd6-8f2b-11e9-81ca-d0431ea8a290; Sat, 15 Jun 2019 05:05:11 +0000 (UTC) Message-ID: <6b549501505f421e8ac05fe83ccbaba77c1edf79.camel@smormegpa.no> Subject: Re: silent disk drive From: Matthias Oestreicher To: "Matthias R." , freebsd-questions@freebsd.org Date: Sat, 15 Jun 2019 07:05:39 +0200 In-Reply-To: <20190615000134.GA31519@exoflux.speedport.ip> References: <20190615000134.GA31519@exoflux.speedport.ip> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 1E1058E555 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smormegpa.no header.s=20140924 header.b=gArYcOIt X-Spamd-Result: default: False [-1.29 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[smormegpa.no:s=20140924]; NEURAL_HAM_MEDIUM(-0.85)[-0.855,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.97)[-0.972,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[smormegpa.no]; NEURAL_SPAM_SHORT(0.23)[0.225,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[smormegpa.no:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[183.210.30.46.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[mx1.pub.mailpod3-cph3.one.com,mx2.pub.mailpod3-cph3.one.com,mx3.pub.mailpod3-cph3.one.com]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.12)[ipnet: 46.30.208.0/21(0.34), asn: 51468(0.26), country: DK(-0.02)]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2019 05:21:26 -0000 Am Samstag, den 15.06.2019, 02:01 +0200 schrieb Matthias R.: > Hello, > thanx for having this group, my question: how do I find out which process is writing > every minute to the disk drive so that it wakes up the hard drive. I am using a > gerneric installation 12.0 and types > camcontrol sleep ada0 > Every time I do that it will wake up afer some 60 sec. and writes somewhere I cannot > find out. > Do you know something helpful? It#s that I like the silence to read... Are you trying to make the disk sleep that you run FreeBSD on? If yes, it will most likely be cron, checking the crontab files. It does that every minute. Setting the hard disk to sleep is the wrong approach in your case. I'd rather suspend-to-ram the computer, by running 'acpiconf -s3'. The whole computer will then sleep until you touch the keyboard/move mouse. In most cases, suspend does not require any configuration, but sometimes it needs some BIOS or sysctl changes (and it does not work at all if you have Nvidia graphics). Hope that helps Matthias > > greet > Matthias > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"