From owner-freebsd-questions@freebsd.org Sat Jun 15 05:44:51 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 307EA15BCC56 for ; Sat, 15 Jun 2019 05:44:51 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic308-19.consmr.mail.ir2.yahoo.com (sonic308-19.consmr.mail.ir2.yahoo.com [77.238.178.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C0D28F17E for ; Sat, 15 Jun 2019 05:44:49 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: G88oHZcVM1lKf0PzEqehJow3ruz1wTH2gPJFTrbo0J3X8FFuX79jIGvcruSQ.Jh tEO.A7WIPhgpjZ9UwBUkVLp6CLmhsvfW9K6h9arTnFQYBz1zC.2MdHz9AQ3zKS9cnCP9vxlrwwEL aXsn.9D9NgE3ItxjzkrFQhbGAPCxE5ktpJduQq8thDtRY._kliYnUlwiEjZR860WYyQsD33D1KQu M_LMdIoWDSCKqKxFw7Dmd5SzFF76sStlzUqOn3lJ.PFmVQioldSJ5yKxWklCRmmn.1oaAkJq0ei4 __hZRt4jGxWjGfmbuFawWB1BzQ4bp80ui1bvv.FGnrt645FAVnhtVTHl39rygmE2dE4x7DIcRHO_ 4cJxO0uQ1fXB06nn4FyRECt7ormZ_y2nTktb_mpBe.E4SP0H0S5Je.c5MIC3V1q2HYTVutNR4MHP b91LGv6r7.cNzL6zFmNvUlovFNR1OL.fdHedX10Ztr4dIuvEDtXCEYZuMGDnb6iVYVVuRpye7weG YIDV1ItYLMzSa8YRMyXAD9RVFyH2JPL52uNiiPm9Q.L1OEtQJoe0FCpLB0Penv7KvlNfytu..AH0 rgxKAsKYuaG8qxfeuVH1r_TtREu1hvdXtsUhFY85EfAOUPRioZ7v9SKVUCjpSzhDYtLysUQXGBe0 L6zLiLmnk2zeoo7phboSz8mynZyEJDCR.BgWbFIzXE0qyYpIJ439MjZFmlM21_VqFU.9DgElWtoP N_aqxucPYqrCWKctL.cMs5jfGZmJQE8ec7bLHmlqzi6KTB7t0WeAs2koAuVWuDhpnoHVnnHfcI79 NEjvpRRcWILOCFgqlg31.8.a790ujhn2G8VLEK5nnIqZX2TtNOUn2LNXlP_8nXOI.hBNjjDtKOh_ EjI3PH5GUoHwrJIj0XAd8KGvWuGuuwCEpbkMarfZqRbO5P3zPLhaHB2pORjCZEFTtKpCutj2nWag tRhqg1t8dE8OcdOHMwsfldisSjmt66rqDApniCLzwgHAtftbnRuX0V1Q3h6rku6Hb0GJWfm5iC0O Hvkj5vxrFfh6GEbIS93Dfg6ZlbGEFdssfvCz58K7gLugl.OELSAS5E8KtKbCMuMVSag_txbNYb50 FWHjbs9UIY8h0xNfkUkBAQvS0Xfd.pkx8NwJI2f1IXnVFpccRS_xfBikz2Jdo7nQ6IbfCKyLPBX1 M3hQCibH_F4k0Lv6gHoWA25c27_0LNoBstLYgg2u5V4vpq7vBmYwSBR6pbw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ir2.yahoo.com with HTTP; Sat, 15 Jun 2019 05:44:41 +0000 Received: from x2f48b6b.dyn.telefonica.de (EHLO archlinux) ([2.244.139.107]) by smtp402.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 7c078320ea5597867d005af17a41aeaa for ; Sat, 15 Jun 2019 05:44:37 +0000 (UTC) Date: Sat, 15 Jun 2019 07:44:38 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: silent disk drive Message-ID: <20190615074438.4d083ce1@archlinux> In-Reply-To: <20190615000134.GA31519@exoflux.speedport.ip> References: <20190615000134.GA31519@exoflux.speedport.ip> X-Mailer: Claws Mail (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 5C0D28F17E X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.17 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; XM_UA_NO_VERSION(0.01)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[rocketmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net,mta6.am0.yahoodns.net,mta7.am0.yahoodns.net,mta5.am0.yahoodns.net]; DKIM_TRACE(0.00)[rocketmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(1.29)[ip: (2.28), ipnet: 77.238.176.0/22(2.40), asn: 34010(1.88), country: GB(-0.09)]; FREEMAIL_ENVFROM(0.00)[rocketmail.com]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; RECEIVED_SPAMHAUS_PBL(0.00)[107.139.244.2.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.59)[0.594,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.45)[0.453,0]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; NEURAL_SPAM_LONG(0.33)[0.326,0]; RCVD_IN_DNSWL_NONE(0.00)[147.178.238.77.list.dnswl.org : 127.0.5.0]; MID_RHS_NOT_FQDN(0.50)[] 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:44:51 -0000 On Sat, 15 Jun 2019 02:01:34 +0200, Matthias R. wrote: >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... Hi, you could monitor IO processes, but the monitoring tool might wake up drives, too ;), let alone that it not necessarily is a read or write process that wakes up drives. On Linux I experienced a lot of processes that wake up drives, almost all are related to desktop environments and might cause this kind of trouble also on freebsd. A lot of software has got a hard dependency against gvfs for no good reason. I install empty dummy packages, to fulfil those dependencies and getting rid of gvfs. However, even a few processes that aren't related to a desktop environment do the same, for example smartd does, so I don't start it. Sometimes I still use smartctl to manually test my external backup HDDs, but for my desktop PC's internal SSDs the database is anyway useless, so I'm using the proprietary tool provided for Linux, by the vendor of the used SSDs (ocz-ssd-utility). You need to search a little bit, Qt apps suffer from something similar to gvfs, too. I don't know which process it is, but after running k3b, I only can get rid of it by restarting the computer, so I tend to use xfburn nowadays. On my machine even lxpanel did wake up a drive, but upstream fixed it, after the issue was reported by me, see https://github.com/lxde/libfm/commit/994a1e25ba0c3da80575fc002af17ab02e . In sum, mount by command line, avoid desktop features to mount drives and don't use monitoring tools, such as smartd. Regards, Ralf