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

2021-03-05 Thread Chris Murphy
On Fri, Mar 5, 2021 at 5:06 PM Kevin Kofler via devel
 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 -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


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

2021-03-05 Thread Kevin Kofler via devel
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.

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


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

2021-03-05 Thread Peter Robinson
On Fri, Mar 5, 2021 at 7:06 PM Kevin Fenzi  wrote:
>
> Just a heads up for anyone running rawhide and using swapfiles: There's
> some nasty corruption in 5.12-rc1. ;(

Note it's only for swap files, not partitions or zram/zswap, so most
default Fedora use cases should be unaffected.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


heads up: kernel-5.12-rc1 and swapfile corruption

2021-03-05 Thread Kevin Fenzi
Just a heads up for anyone running rawhide and using swapfiles: There's
some nasty corruption in 5.12-rc1. ;( 

https://lwn.net/Articles/848265/ has details. 

kevin


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure