On Fri, Mar 5, 2021 at 5:06 PM Kevin Kofler via devel
<[email protected]> wrote:
>
> Kevin Fenzi wrote:
> > Just a heads up for anyone running rawhide and using swapfiles: There's
> > some nasty corruption in 5.12-rc1. ;(
>
> Note that this corrupts not only the swapfile as hinted at in the subject,
> but also random data and/or metadata on the entire containing partition!
>
> This is explained more in detail at the given link:
> > https://lwn.net/Articles/848265/ has details.
>

If using btrfs:

sudo btrfs scrub start /
watch -n 10 sudo btrfs scrub status /    #optional

That'll read every data and metadata block. Corruptions are reported
in dmesg. If there's redundancy (e.g. dup or raid1+) it'll try to
repair it from a good copy. Without a scrub, the same error detection
(and fixups if possible) happens passively as blocks are read.

-- 
Chris Murphy
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to