linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Gregory Farnum <greg@gregs42.com>
Cc: Qu Wenruo <quwenruo@cn.fujitsu.com>,
	Steve Dainard <sdainard@spd1.com>,
	linux-btrfs@vger.kernel.org
Subject: Re: Can't mount btrfs volume on rbd
Date: Thu, 23 Jul 2015 07:11:34 -0400	[thread overview]
Message-ID: <55B0CBE6.7080306@gmail.com> (raw)
In-Reply-To: <CAC6JEv-=9LPR7XL9XJt6ZSKGuGYS4eAT+fAYHNrRQJWxe1metQ@mail.gmail.com>

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

On 2015-07-22 10:13, Gregory Farnum wrote:
> On Wed, Jul 22, 2015 at 12:16 PM, Austin S Hemmelgarn
> <ahferroin7@gmail.com> wrote:
>> On 2015-07-21 22:01, Qu Wenruo wrote:
>>>
>>> Steve Dainard wrote on 2015/07/21 14:07 -0700:
>>>>
>>>> I don't know if this has any bearing on the failure case, but the
>>>> filesystem that I sent an image of was only ever created, subvol
>>>> created, and mounted/unmounted several times. There was never any data
>>>> written to that mount point.
>>>>
>>> Subvol creation and rw mount is enough to trigger 2~3 transaction with
>>> DATA written into btrfs.
>>> As the first rw mount will create free space cache, which is counted as
>>> data.
>>>
>>> But without multiple mount instants, I really can't consider another
>>> method to destroy btrfs so badly but with all csum OK...
>>>
>> I know that a while back RBD had some intermittent issues with data
>> corruption in the default configuration when the network isn't absolutely
>> 100% reliable between all nodes (which for ceph means not only no packet
>> loss, but also tight time synchronization between nodes and only very low
>> network latency).
>>
>> I also heard somewhere (can't remember exactly where though) of people
>> having issues with ZFS on top of RBD.
>>
>> The other thing to keep in mind is that Ceph does automatic background data
>> scrubbing (including rewriting stuff it thinks is corrupted), so there is no
>> guarantee that the data on the block device won't change suddenly without
>> the FS on it doing anything.
>
> Ceph will automatically detect inconsistent data with its scrubbing,
> but it won't rewrite that data unless the operator runs a repair
> command. No invisible data changes! :)
Ah, you're right, I forgot about needing admin intervention for changes 
(It's been a while since I tried to do anything with Ceph).
>
> I'm also not familiar with any consistency issues around network speed
> or time sync, but I could have missed something. The only corruption
> case I can think of was a release that enabled some local FS features
> which in combination were buggy on some common kernels in the wild.
Poor time synchronization between the nodes can cause some of the 
monitor nodes to lose their minds, which can cause corruption if the 
cluster is actually being utilized, but won't usually cause issues 
otherwise (although it will complain very noisily and persistently about 
lack of proper time synchronization).



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3019 bytes --]

      reply	other threads:[~2015-07-23 11:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 15:26 Can't mount btrfs volume on rbd Steve Dainard
2015-06-12  7:23 ` Qu Wenruo
2015-06-12 16:09   ` Steve Dainard
2015-06-15  8:06     ` Qu Wenruo
2015-06-15 16:19       ` Steve Dainard
2015-06-16  1:27         ` Qu Wenruo
2015-07-13 20:22           ` Steve Dainard
2015-07-14  1:22             ` Qu Wenruo
2015-07-21  8:38               ` Qu Wenruo
2015-07-21 11:15                 ` Austin S Hemmelgarn
2015-07-21 21:07                   ` Steve Dainard
2015-07-22  2:01                     ` Qu Wenruo
2015-07-22 11:16                       ` Austin S Hemmelgarn
2015-07-22 14:13                         ` Gregory Farnum
2015-07-23 11:11                           ` Austin S Hemmelgarn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55B0CBE6.7080306@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=greg@gregs42.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo@cn.fujitsu.com \
    --cc=sdainard@spd1.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).