From: Pavel Volkov <negaipub@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Error: could not do orphan cleanup -22
Date: Mon, 10 Feb 2014 00:20:54 +0400 [thread overview]
Message-ID: <2047669.QmpNhlvBGM@melforce> (raw)
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.
I'll explain what I did at that moment.
Subvolumes were already mounted at /home and /var and I mounted the root subvolume at /mnt/btr2.
Then executed ls command on /home/btr2. ls gave me "invalid argument" errors, but still displayed the contents.
Next time I ran ls (right away), there were no more errors.
Another example is a script that mounts the same thing and then takes snapshots.
If I run the script manually, it never fails. If I run it from cron job, one of the snapshot commands fails
telling me that /home/btr2/var isn't accesible (I don't remember the exact error message, I can look if it
shows up again).
Someone said in the January thread that -22 error messages are harmless but in this case userspace tools break
so I wouldn't consider this totally harmless.
next reply other threads:[~2014-02-09 20:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-09 20:20 Pavel Volkov [this message]
2014-02-10 19:38 ` Error: could not do orphan cleanup -22 Pavel Volkov
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=2047669.QmpNhlvBGM@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 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).