From: Wido den Hollander Subject: Re: Possible corruption with MSSQL on RBD Date: Wed, 12 Oct 2016 17:57:02 +0200 (CEST) Message-ID: <439702971.6004.1476287822395@ox.pcextreme.nl> References: <262972897.5995.1476280634060@ox.pcextreme.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp01.mail.pcextreme.nl ([109.72.87.137]:51968 "EHLO smtp01.mail.pcextreme.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753068AbcJLP5H (ORCPT ); Wed, 12 Oct 2016 11:57:07 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Gregory Farnum Cc: ceph-devel > Op 12 oktober 2016 om 17:01 schreef Gregory Farnum : > > > On Wed, Oct 12, 2016 at 7:57 AM, Wido den Hollander wrote: > > Hi, > > > > I filed a issue in the tracker, but I'm looking for some feedback to diagnose this a bit further: http://tracker.ceph.com/issues/17545 > > > > The situation is that with a Firefly or Hammer (haven't tested Jewel yet) a MSSQL server running on RBD will sometimes complain about corruption. > > > > Using SQLioSim we can reproduce the issue on a small Proxmox + Ceph cluster and after an hour or so it will yield: > > > > Expected FileId: 0x0 > > Received FileId: 0x0 > > Expected PageId: 0xCB19C > > Received PageId: 0xCB19A (does not match expected) > > Received CheckSum: 0x9F444071 > > Calculated CheckSum: 0x89603EC9 (does not match expected) > > Received Buffer Length: 0x2000 > > > > The issue only seems to happen with RBD caching enabled. When disabling the RBD cache or using cache=directsync we were not able to reproduce the issue. > > > > When using LVM/file based backends for Qemu the problem also didn't pop up. > > > > So this seems to be either a librbd issue or the RBD driver inside Qemu. > > > > Any hints on how to debug this further to find the root cause? > > If you've got control over the clients, try building with commit > 9ec6e7f608608088d51e449c9d375844631dcdde backported to them (I believe > it's also in the latest Hammer release, but maybe there hasn't been > one cut since the backport?); tracked at > http://tracker.ceph.com/issues/16002 but of course the web site is > dead so you can't look at that right now. :( I verified, but 9ec6e7 is not in v0.94.9, but it is in the Jewel release. Tests are running with Jewel now and I will probably have the results tomorrow. If Jewel doesn't break the commit you send might indeed resolve it. Wido > -Greg > > > > > Wido > > -- > > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html