From nobody Fri Aug 23 15:00:01 2024 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wr39r4ZLSz5TPd2 for ; Fri, 23 Aug 2024 14:58:56 +0000 (UTC) (envelope-from anthony.pankov@yahoo.com) Received: from sonic310-11.consmr.mail.ir2.yahoo.com (sonic310-11.consmr.mail.ir2.yahoo.com [77.238.177.32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wr39q2Bwmz413y for ; Fri, 23 Aug 2024 14:58:55 +0000 (UTC) (envelope-from anthony.pankov@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="EFl/MUnA"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of anthony.pankov@yahoo.com designates 77.238.177.32 as permitted sender) smtp.mailfrom=anthony.pankov@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1724425133; bh=FbSBxpQXmga4hY5/t4xoAJIa+ChdIVRAlw9BANuDpJQ=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=EFl/MUnArBcLUgis3kKLCqaWjzeft32Pik6SpbFaPnsaoHrfGzHHr2dg2zb0hMuse48f4bCe6mRoZwriZlK2orrto6jH6g0cIU44s7fPdD33MQYhMaZzn4zJWriJPsq1De1r9QxI2WC88tbr9Shjsw+wUKUMEah2GDVToYsgilyev8zSNnNlri/0aJONjWQUtxlOBJhZAzT0QmTLpMO3CbJlMU9jsMYsHMNLbozUpr2sNfIT2TvP2BQ+PZIr2Sbuf/QOWOqS3f7x+aGkmeOFkrZRrXrX5IlEPnFCqcyoN0iaL7jBzXrt3SbTf6ZmnT3J7cAOgIWZ2BGzpVSaoSpsPg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1724425133; bh=8YBCWA6qf3MvotAN4+x9EAWGag4ws3PEHYRzjzB1Hvo=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=B8H/MMn/+BoNn0PmeVu+wGTeZFudZ3qd97T3Hcq+TibGrq38dTeJgTgly1SgvL0smuZinqyz11qR9jEoO/ob/ktLeK3SXoab92jB12Mk9drEk9iEOKzVhaquSfn7+u/Bn/I1GnTad4o3th9sZ1Cz3mXwW8XYvCey3nf6uCyI5E8PHCb3jxbPfyp+sgqHDJDorj93QIRaJt3Mk1btdUeMO12lv1Hxh11aOGFpjzYkyxPl4I3HBCT8ejMa1g9Lvr5G1pndPeCAtA4Rb1GzH/4hTglxQGyj6mAiDCqz85zafGJTZTH15RqL8XW/0lc7ALLht1shtyuBwPqVmsudJZfXqQ== X-YMail-OSG: a1d8eAsVM1k44Vdy8mAVr18jjPixi08AG4dwsA66X5aW6Mrw4hWxuqAOrq2x5Ud Z0ZoIi0LMIVL7PYg0PslUhRHTjzB_qtvDnZPVl1ZVJLWuZyqQyDvubJQiDcU.w778xMk2sHAoz9Z LQs_RrMoH6awL9YfRrGBJptIS_tX5B2jPPJJZ_C30KYXnOSdPSmsC3v6W0f_9j3aijbEZKP8ETsc _vrLkBNSn8vUXC0lkgUP.EwmByFUbj0cZJUxYH0.4mVoIQsaAaJh3GzZScCVWyNJKKPzrrBr8HDp 4iWKwo7fgWVachheJcoWVNhgXxIMMMvFObwkbw7bAN4irfdHFs_Sn1IXzRWhiEr6YzJyCd9xYovh 80rTEikC9WGXbX50s9wez4XyTTWtxXtOQgDtjror.LUj4XjBpnsYyokUZ8nPvHTO0ExFEVBY5yxi JOQ0Y1CZq7sttSld3US81SnHwg2uUBk6BATXf.6z9FyWnQc2s05298u70b6_5XG5w99qywk4kLZq ivepf2R94SO7KME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1DwpMATvri1glB1c4Rwdzur3SpYEpCG2huhM OeKHN.1LqWcybs96Sj8za0HVeS82wKYyteWMpWTVSJiY8APWSz2ND2TCnt9bCbtpAZry0FF1tE8B .B8DTzmyPHMw40IhaYylcMOQ3uX0xb4q.I9fUliIbeUOEBOiiJtlELJEr6ybtCiPcuXX3g0GPuG0 6RUnnyG.CvNyy1TZ5KyMDvZYZqbxZ.nt_nIqEHQbH.4rO9HjQ7dT7LIkeBPDzxoyREafbe5ozr77 oENV6vhqgP.GIvMmYURUMNdMZESQ_Isjb8emHL_VJyK0xIyz5x5xfiIKGArgQppe2S9w1jBbN3BO tyM9EGX5DcJcwxgGnfMk60ip3U5uRM8EQ2X7JrkAyQkp22w7LCoqBxn77fze1s_eh1lolCL6Kzzi qkBE5cEk9bcyajn4btPi8hAOZsftts60ZJ9.xnH1o_yKlyIApmW6tthG1hpGkMAWgu3mwg5676_q ejE22OkX6XUty6k8NKaUm5emRv7wxUgdywxF7YGoceq12iAkAdXp0CZby.ojfuMw_RWZ4T7azQtp 5S0X3T_GS9Z9eQwgAcJqptng.WcOOPjLktr4- X-Sonic-MF: X-Sonic-ID: cbe407ee-ef86-4bd2-9966-412668677aaa Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Fri, 23 Aug 2024 14:58:53 +0000 Received: by hermes--production-ir2-6664f499fc-l95lq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f1e836545a151eaa81e7c0f7aa4977c5; Fri, 23 Aug 2024 14:58:51 +0000 (UTC) Date: Fri, 23 Aug 2024 18:00:01 +0300 From: Anthony Pankov Message-ID: <967684385.20240823180001@yahoo.com> To: freebsd-fs@FreeBSD.org Subject: scheduled run of background fsck List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <967684385.20240823180001.ref@yahoo.com> X-Mailer: WebService/1.1.22544 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[77.238.177.32:from]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@FreeBSD.org]; DKIM_TRACE(0.00)[yahoo.com:+] X-Rspamd-Queue-Id: 4Wr39q2Bwmz413y Hello, I use UFS with regular (not journaled) softupdates (SU). Recently I've been told that it is a good idea to schedule a background fsck at least weekly. (I don't now much about UFS, the reason was something about "reclaiming blocks". Is it a right idea or am I missing something?) So I plan to add "fsck -B /data/meshare" to crontab. I have two issue with this: 1. When I manually run "fsck -B" nothing happen: # fsck -B /data/meshare # echo $? 0 and no fsck process in a background. Is it OK? 2. Some years ago I've used classic UFS+SU with background_fsck="YES" in rc.conf. But ended with production server rebooted after every 5-10 minutes. The problem appeared after rebooting after some software crash. The reason I've found in logs. Message was something like: FSCK: CAN'T WRITE PANIC As I understand background fsck was doing it job but when it reach part of filesystem with inconsistency it discover itself in read-only mode and panic to not leave filesystem with inconsistency. It was very frustrating. May I be sure for FreeBSD 12/STABLE+ that this will never happen again? Can I rely that 'fsck -B' will never cause system panic but gracefully exit and leave a message in log in case of a problem? -- Best regards, Anthony Pankov mailto:anthony.pankov@yahoo.com