Re: heads up: kernel-5.12-rc1 and swapfile corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 5, 2021 at 5:06 PM Kevin Kofler via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> 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
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/test@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux