From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com ([209.85.212.176]:34132 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752562AbbEOSeA (ORCPT ); Fri, 15 May 2015 14:34:00 -0400 Received: by wicmc15 with SMTP id mc15so44928239wic.1 for ; Fri, 15 May 2015 11:33:59 -0700 (PDT) Received: from [10.0.2.15] (p3E9EE5B9.dip0.t-ipconnect.de. [62.158.229.185]) by mx.google.com with ESMTPSA id it5sm4484695wid.3.2015.05.15.11.33.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 11:33:58 -0700 (PDT) From: Philip Seeger Message-ID: <55563C0C.3060808@googlemail.com> Date: Fri, 15 May 2015 20:33:48 +0200 MIME-Version: 1.0 To: linux-btrfs@vger.kernel.org Subject: Re: Got 10 csum errors according to dmesg but 0 errors according to dev stats References: <554F6D43.2060806@googlemail.com> <554F963D.2040209@googlemail.com> <201505111141.54771.russell@coker.com.au> <555145EA.6040009@googlemail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: The SATA controller used for the virtual hard drive of this vm does not have host caching enabled (checkbox not checked). So, no, VirtualBox should not be using any form of disk caching. Also, there is no Windows involved. Philip On 05/12/2015 03:04 AM, Paul Jones wrote: >> -----Original Message----- >> From: linux-btrfs-owner@vger.kernel.org [mailto:linux-btrfs- >> owner@vger.kernel.org] On Behalf Of Philip Seeger >> Sent: Tuesday, 12 May 2015 10:15 AM >> To: linux-btrfs@vger.kernel.org >> Subject: Re: Got 10 csum errors according to dmesg but 0 errors according to >> dev stats >> >>> Sounds like you are having errors in your RAM, CPU, motherboard, or >>> hard drive cabling. Turn the machine off ASAP and plug the disks into >>> a different system, if you keep it running you will make it worse. >>> >> I know it sounds like it, but the host is fine. The host filesystem (on which the >> vm virtual hdd resides) is healthy. Other vms are running on the same host, >> no problems there. Just to be sure, I will run memtest, but I'm pretty sure >> that's not it. The system is under high load a lot, but I don't think btrfs would >> fail because of a slow system. >> >> So I have deleted all those corrupted files in this Arch vm, ran a scrub, 0 >> errors, all fixed. I restored them, fixed some other things and now - I get >> checksum errors again. Interestingly, it looks like the corruption is not >> happening randomly, because the same sqlite files are affected under >> ~/.mozilla/ and exactly one library file (ghostscript). >> Meanwhile, other vms (not Arch but Fedora and Debian) are running without >> a problem (one of them using btrfs as well). >> >> Is it possible that systemd isn't unmounting the filesystem properly, so it gets >> corrupted on shutdown? (Juest a wild guess.) Although I'm not sure if all this >> happened between reboots. > Are you using KVM with some form of disk caching? I had a windows vm that was constantly creating errors on the host filesystem (btrfs) somewhere within the disk image. I changed the caching option (I can't remember from/to what) and it fixed the error. It didn't seem to be causing any errors on the windows guest, but it's windows so you never know :) > > Paul.