All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Volkov <negaipub@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Error: could not do orphan cleanup -22
Date: Mon, 10 Feb 2014 23:38:20 +0400	[thread overview]
Message-ID: <2081514.jGOau8LjKu@melforce> (raw)
In-Reply-To: <2047669.QmpNhlvBGM@melforce>

On Monday 10 February 2014 00:20:54 you wrote:
> There was a similar discussion about an error in January 2013 but it related
> to some kernel panic. I don't know if I encountered the same thing.
> 
> These errors from system journal bother me:
> 
>  2月 09 22:18:53 melforce kernel: BTRFS error (device sdb3): Error removing
> orphan entry, stopping orphan cleanup 2月 09 22:18:53 melforce kernel: BTRFS
> critical (device sdb3): could not do orphan cleanup -22
> 
> I run kernel 3.12.10.

Some update.
I tested with kernel 3.13.2 and still have the problem.
Also, I don't have the errors in kernel log anymore but now I can't delete my 
snapshots!

melforce mnt # ls btr2
home  vap-snap1  vap-snap2  var

melforce mnt # btrfs sub list btr2
ID 257 gen 6294 top level 5 path home
ID 258 gen 6294 top level 5 path var
ID 939 gen 6153 top level 5 path vap-snap1
ID 940 gen 6154 top level 5 path vap-snap2

melforce mnt # btrfs sub delete btr2/var-snap2
ERROR: error accessing 'btr2/var-snap2'

My /mnt/btr2/var is also mounted on /var.

There's plenty of space left on device (only ~590 GB allocated on 2.6 TB 
volume):

# btrfs fi df btr2
Data, single: total=591.01GiB, used=590.64GiB
System, DUP: total=8.00MiB, used=96.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, DUP: total=1.50GiB, used=989.41MiB
Metadata, single: total=8.00MiB, used=0.00

# btrfs fi show 
Label: melforce_hdd  uuid: c3f3a649-d8c3-49e1-9962-9b3ca9f54f1d
        Total devices 1 FS bytes used 591.61GiB
        devid    1 size 2.61TiB used 594.04GiB path /dev/sdb3

  reply	other threads:[~2014-02-10 19:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-09 20:20 Error: could not do orphan cleanup -22 Pavel Volkov
2014-02-10 19:38 ` Pavel Volkov [this message]
2014-02-10 20:53 ` Pavel Volkov
2014-02-10 21:13   ` Josef Bacik
2014-02-10 21:52     ` Pavel Volkov
2014-02-12  7:32     ` Pavel Volkov
2014-02-12 14:38       ` Pavel Volkov

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=2081514.jGOau8LjKu@melforce \
    --to=negaipub@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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.