kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 205655] New: kvm with cache=none and btrfs -> corrupted file system
@ 2019-11-26  9:24 bugzilla-daemon
  2019-11-26 11:48 ` [Bug 205655] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-11-26  9:24 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=205655

            Bug ID: 205655
           Summary: kvm with cache=none and btrfs -> corrupted file system
           Product: Virtualization
           Version: unspecified
    Kernel Version: 4.9   4.19    5.3.12
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: denis.ovsyannikov@gmail.com
        Regression: No

hello
we use kvm with disks formatted in btrfs
when we turned on the mode "cache=none"
got data corruption
other modes work well

we tested it on three servers and the result is always repeated
we tested on three operating systems(debian 9, debian 10, manjaro with kernel
5.3.12)

fstab
UUID=a49494f2-35a4-4a9c-aab0-1afc905c02c2 /mnt/test      btrfs   defaults 0 2

dmesg
[675174.887900] BTRFS error (device sde1): bdev /dev/sde1 errs: wr 0, rd 0,
flush 0, corrupt 2137, gen 0

[102857.086874] BTRFS warning (device sdc1): csum failed root 256 ino 260 off
1735843840 csum 0xf69f8dd2 expected csum 0x96e71981 mirror 1

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 205655] kvm with cache=none and btrfs -> corrupted file system
  2019-11-26  9:24 [Bug 205655] New: kvm with cache=none and btrfs -> corrupted file system bugzilla-daemon
@ 2019-11-26 11:48 ` bugzilla-daemon
  2019-12-03  9:08 ` [Bug 205655] New: " Stefan Hajnoczi
  2019-12-03  9:08 ` [Bug 205655] " bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-11-26 11:48 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=205655

--- Comment #1 from denis.ovsyannikov@gmail.com ---
I made a mistake, directsync mode also corrupts data

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bug 205655] New: kvm with cache=none and btrfs -> corrupted file system
  2019-11-26  9:24 [Bug 205655] New: kvm with cache=none and btrfs -> corrupted file system bugzilla-daemon
  2019-11-26 11:48 ` [Bug 205655] " bugzilla-daemon
@ 2019-12-03  9:08 ` Stefan Hajnoczi
  2019-12-03  9:08 ` [Bug 205655] " bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2019-12-03  9:08 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: kvm

[-- Attachment #1: Type: text/plain, Size: 1669 bytes --]

On Tue, Nov 26, 2019 at 09:24:48AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=205655
> 
>             Bug ID: 205655
>            Summary: kvm with cache=none and btrfs -> corrupted file system
>            Product: Virtualization
>            Version: unspecified
>     Kernel Version: 4.9   4.19    5.3.12
>           Hardware: x86-64
>                 OS: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: high
>           Priority: P1
>          Component: kvm
>           Assignee: virtualization_kvm@kernel-bugs.osdl.org
>           Reporter: denis.ovsyannikov@gmail.com
>         Regression: No
> 
> hello
> we use kvm with disks formatted in btrfs
> when we turned on the mode "cache=none"
> got data corruption
> other modes work well
> 
> we tested it on three servers and the result is always repeated
> we tested on three operating systems(debian 9, debian 10, manjaro with kernel
> 5.3.12)
> 
> fstab
> UUID=a49494f2-35a4-4a9c-aab0-1afc905c02c2 /mnt/test      btrfs   defaults 0 2
> 
> dmesg
> [675174.887900] BTRFS error (device sde1): bdev /dev/sde1 errs: wr 0, rd 0,
> flush 0, corrupt 2137, gen 0
> 
> [102857.086874] BTRFS warning (device sdc1): csum failed root 256 ino 260 off
> 1735843840 csum 0xf69f8dd2 expected csum 0x96e71981 mirror 1

Please post your QEMU command-line.

What is the storage configuration on the host?  Which host file system
are you using?  Which image file format?

What test is being run inside the guest?

Is this a regression?  Which host and guest kernel versions worked fine
before?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 205655] kvm with cache=none and btrfs -> corrupted file system
  2019-11-26  9:24 [Bug 205655] New: kvm with cache=none and btrfs -> corrupted file system bugzilla-daemon
  2019-11-26 11:48 ` [Bug 205655] " bugzilla-daemon
  2019-12-03  9:08 ` [Bug 205655] New: " Stefan Hajnoczi
@ 2019-12-03  9:08 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-12-03  9:08 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=205655

--- Comment #2 from Stefan Hajnoczi (stefanha@gmail.com) ---
On Tue, Nov 26, 2019 at 09:24:48AM +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=205655
> 
>             Bug ID: 205655
>            Summary: kvm with cache=none and btrfs -> corrupted file system
>            Product: Virtualization
>            Version: unspecified
>     Kernel Version: 4.9   4.19    5.3.12
>           Hardware: x86-64
>                 OS: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: high
>           Priority: P1
>          Component: kvm
>           Assignee: virtualization_kvm@kernel-bugs.osdl.org
>           Reporter: denis.ovsyannikov@gmail.com
>         Regression: No
> 
> hello
> we use kvm with disks formatted in btrfs
> when we turned on the mode "cache=none"
> got data corruption
> other modes work well
> 
> we tested it on three servers and the result is always repeated
> we tested on three operating systems(debian 9, debian 10, manjaro with kernel
> 5.3.12)
> 
> fstab
> UUID=a49494f2-35a4-4a9c-aab0-1afc905c02c2 /mnt/test      btrfs   defaults 0 2
> 
> dmesg
> [675174.887900] BTRFS error (device sde1): bdev /dev/sde1 errs: wr 0, rd 0,
> flush 0, corrupt 2137, gen 0
> 
> [102857.086874] BTRFS warning (device sdc1): csum failed root 256 ino 260 off
> 1735843840 csum 0xf69f8dd2 expected csum 0x96e71981 mirror 1

Please post your QEMU command-line.

What is the storage configuration on the host?  Which host file system
are you using?  Which image file format?

What test is being run inside the guest?

Is this a regression?  Which host and guest kernel versions worked fine
before?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-03  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26  9:24 [Bug 205655] New: kvm with cache=none and btrfs -> corrupted file system bugzilla-daemon
2019-11-26 11:48 ` [Bug 205655] " bugzilla-daemon
2019-12-03  9:08 ` [Bug 205655] New: " Stefan Hajnoczi
2019-12-03  9:08 ` [Bug 205655] " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).