From: Russell Haley <yumpusamongus@gmail.com>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>, linux-btrfs@vger.kernel.org
Subject: Re: BTRFS corruption after conversion to block group tree
Date: Sat, 2 Dec 2023 00:13:03 -0600 [thread overview]
Message-ID: <8dac2b61-0a42-4416-9477-4cecc1b0eb06@gmail.com> (raw)
In-Reply-To: <3b55e499-791b-4f98-9ca3-0ff0a218c0bf@gmx.com>
To be clear, there is no reason to be suspicious of the other disk that
was converted to block group tree and has passed a scrub after
rebooting? It should be safe to mount that one read-write again?
On 12/1/23 22:25, Qu Wenruo wrote:> Just one more question, is there any
hibernation/suspension involved in
> this particular corruption?
>
> I have seen exactly such unexplainable writes-from-future cases, which a
> lot of them have hibernation/suspension involved.
> (Thus personally speaking, I never go hibernation/suspension on my own
> devices)
Neither of those, but the affected disk *is* set hdparm -B 128 -S 240,
which is Advanced Power Management set to the lowest-power value that
"doesn't permit spin-down", AND a 20 minute spin-down timeout. It's
possible that this contradictory combination causes firmware
misbehavior, but this configuration has been in place since late
December 2021 and there were no problems for almost 2 years.
Unfortunately my notes don't say exactly I combined no-spindown APM with
a spindown timeout, but it does for sure result in the drives spinning
down after the configured duration of complete idle. Judging by the data
I gathered before making that decision, the reason was probably that
APM<128 gave different spindown timeouts for my 4 assorted hard drives,
and there was no way to discover the mapping of APM levels to timeout
durations.
Needless to say, I have reverted that configuration and will just live
with the extra noise and $20/year.
Thanks,
Russell Haley
next prev parent reply other threads:[~2023-12-02 6:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 11:46 BTRFS corruption after conversion to block group tree Russell Haley
2023-12-01 20:09 ` Qu Wenruo
2023-12-02 2:45 ` Russell Haley
2023-12-02 4:13 ` Qu Wenruo
2023-12-02 4:25 ` Qu Wenruo
2023-12-02 6:13 ` Russell Haley [this message]
2023-12-02 6:43 ` Qu Wenruo
2023-12-02 8:04 ` Russell Haley
2023-12-02 9:00 ` Qu Wenruo
2023-12-03 12:05 ` Russell Haley
2023-12-03 12:16 ` Russell Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8dac2b61-0a42-4416-9477-4cecc1b0eb06@gmail.com \
--to=yumpusamongus@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo.btrfs@gmx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox