All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Cc: Roman Mamedov <rm@romanrm.net>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: runtime btrfsck
Date: Wed, 10 May 2017 07:40:53 +0000	[thread overview]
Message-ID: <20170510074052.GG9701@carfax.org.uk> (raw)
In-Reply-To: <39924a38-4c6a-b0ea-81a7-64c1d72cf7be@profihost.ag>

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

On Wed, May 10, 2017 at 09:36:30AM +0200, Stefan Priebe - Profihost AG wrote:
> Hello Roman,
> 
> the FS is mountable. It just goes readonly when trying to write some data.
> 
> The kernel msgs are:
> BTRFS critical (device dm-2): corrupt leaf, bad key order:
> block=163316514816,root=1, slot=39
> BTRFS critical (device dm-2): corrupt leaf, bad key order:
> block=163322413056,root=1, slot=74
> BTRFS critical (device dm-2): corrupt leaf, bad key order:
> block=163325722624,root=1, slot=63
> BTRFS critical (device dm-2): corrupt leaf, bad key order:
> block=163316514816,root=1, slot=39
> BTRFS: error (device dm-2) in btrfs_drop_snapshot:8839: errno=-5 IO failure
> BTRFS info (device dm-2): forced readonly
> BTRFS info (device dm-2): delayed_refs has NO entry

   Can you show the output of btrfs-debug-tree -b <blocknum>, where
<blocknum> is each of the three "block=" values above?

   Hugo.

> Greets,
> Stefan
> Am 10.05.2017 um 09:18 schrieb Roman Mamedov:
> > On Wed, 10 May 2017 09:02:46 +0200
> > Stefan Priebe - Profihost AG <s.priebe@profihost.ag> wrote:
> > 
> >> how to fix bad key ordering?
> > 
> > You should clarify does the FS in question mount (read-write? read-only?)
> > and what are the kernel messages if it does not.
> > 

-- 
Hugo Mills             | Welcome to Hollywood, a land just off the coast of
hugo@... carfax.org.uk | Planet Earth
http://carfax.org.uk/  |
PGP: E2AB1DE4          |                                        The Cat's Meow

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2017-05-10  7:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-02  6:29 runtime btrfsck Stefan Priebe - Profihost AG
2017-05-06  5:56 ` Stefan Priebe - Profihost AG
2017-05-10  7:02   ` Stefan Priebe - Profihost AG
2017-05-10  7:18     ` Roman Mamedov
2017-05-10  7:36       ` Stefan Priebe - Profihost AG
2017-05-10  7:40         ` Hugo Mills [this message]
2017-05-10  8:40           ` Stefan Priebe - Profihost AG
2017-05-10  9:08             ` Hugo Mills
2017-05-10  9:20               ` Stefan Priebe - Profihost AG
2017-05-10  9:54                 ` Hugo Mills
2017-05-10 11:23                   ` Stefan Priebe - Profihost AG
2017-05-10  7:24     ` Marat Khalili
2017-05-10  7:48     ` Martin Steigerwald
2017-05-10  8:42       ` Stefan Priebe - Profihost AG
2017-05-10  8:52       ` Roman Mamedov
2017-05-11 14:03         ` Duncan

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=20170510074052.GG9701@carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=rm@romanrm.net \
    --cc=s.priebe@profihost.ag \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.