* btrfs: could not do orphan cleanup -22
@ 2013-01-17 20:23 Reartes Guillermo
2013-01-18 8:44 ` Sander
2013-01-18 12:08 ` David Sterba
0 siblings, 2 replies; 3+ messages in thread
From: Reartes Guillermo @ 2013-01-17 20:23 UTC (permalink / raw)
To: linux-btrfs
I booted the guest in which i was testing btrfs (transient ENOSPC
issues, etc). It booted in emergency mode.
[ 6.705187] device label testfs1 devid 1 transid 4141 /dev/sdb1
[ 6.724353] device label fedora devid 1 transid 2036 /dev/sda2
[ 6.780931] device label fedora devid 1 transid 2036 /dev/sda2
[ 6.817157] snd_hda_intel 0000:00:04.0: irq 42 for MSI/MSI-X
[ 6.818326] snd_hda_intel 0000:00:04.0: setting latency timer to 64
[ 6.928264] Adding 1048572k swap on /dev/sda1. Priority:-1
extents:1 across:1048572k
[ 7.008342] device label testfs1 devid 1 transid 4141 /dev/sdb1
[ 7.011071] btrfs: disk space caching is enabled
>> [ 7.165692] btrfs: Error removing orphan entry, stopping orphan cleanup
>> [ 7.165696] btrfs: could not do orphan cleanup -22
>> [ 8.910980] btrfs: open_ctree failed
[ 8.944598] systemd-journald[292]: Received SIGTERM
[ 70.616949] systemd-modules-load[453]: Module 'uinput' is already loaded
[ 70.676072] systemd-udevd[457]: starting version 197
[ 70.937319] microcode: AMD CPU family 0x6 not supported
[ 71.598671] btrfs: disk space caching is enabled
[ 71.617841] device label testfs1 devid 1 transid 4143 /dev/sdb1
[ 71.619164] btrfs: disk space caching is enabled
[ 71.629969] device label fedora devid 1 transid 2038 /dev/sda2
[ 71.805339] btrfs: Error removing orphan entry, stopping orphan cleanup
[ 71.806597] btrfs: could not do orphan cleanup -22
[ 71.986601] device label testfs1 devid 1 transid 4143 /dev/sdb1
[ 72.934724] btrfs: open_ctree failed
I tried to btrfsck sdb1, the first time it
hecking extents
checking fs roots
checking root refs
found 23233744896 bytes used err is 0
total csum bytes: 21888908
total tree bytes: 809082880
total fs tree bytes: 744513536
btree space waste bytes: 209930514
file data blocks allocated: 22424662016
referenced 22424662016
Btrfs Btrfs v0.19
Since sda2 is mounted i could not check it, but from the logs it is
not clear to me if the issue is in sda2 or sdb1.
maybe the error should be something like that:
btrfs: sdaX: Error XXXXXX
I intend to reinstall the guest, since it is for testing purposes
(btrfs testing)
I booted first with 3.8.0-0.rc3.git1.1.fc19 (which has a lot of
issues) and then back with 3.7.2-201.fc18.
Cheers.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs: could not do orphan cleanup -22
2013-01-17 20:23 btrfs: could not do orphan cleanup -22 Reartes Guillermo
@ 2013-01-18 8:44 ` Sander
2013-01-18 12:08 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: Sander @ 2013-01-18 8:44 UTC (permalink / raw)
To: Reartes Guillermo; +Cc: linux-btrfs
Reartes Guillermo wrote (ao):
> [ 71.617841] device label testfs1 devid 1 transid 4143 /dev/sdb1
> [ 71.619164] btrfs: disk space caching is enabled
> [ 71.629969] device label fedora devid 1 transid 2038 /dev/sda2
> [ 71.805339] btrfs: Error removing orphan entry, stopping orphan cleanup
> [ 71.806597] btrfs: could not do orphan cleanup -22
> [ 71.986601] device label testfs1 devid 1 transid 4143 /dev/sdb1
> [ 72.934724] btrfs: open_ctree failed
> Since sda2 is mounted i could not check it, but from the logs it is
> not clear to me if the issue is in sda2 or sdb1.
Seems sda2 from the above.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs: could not do orphan cleanup -22
2013-01-17 20:23 btrfs: could not do orphan cleanup -22 Reartes Guillermo
2013-01-18 8:44 ` Sander
@ 2013-01-18 12:08 ` David Sterba
1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2013-01-18 12:08 UTC (permalink / raw)
To: Reartes Guillermo; +Cc: linux-btrfs
On Thu, Jan 17, 2013 at 05:23:17PM -0300, Reartes Guillermo wrote:
> [ 7.008342] device label testfs1 devid 1 transid 4141 /dev/sdb1
> [ 7.011071] btrfs: disk space caching is enabled
> >> [ 7.165692] btrfs: Error removing orphan entry, stopping orphan cleanup
> >> [ 7.165696] btrfs: could not do orphan cleanup -22
> >> [ 8.910980] btrfs: open_ctree failed
The orphan cleaning messages are harmless (and not useful to users
anyway), not like the failed mount. As a workaround, mount it read-only
and remount read write. It should be fixed after first mount cycle.
We've seen the -22 error during testing and Josef is aware of that, so
it's going to be fixed after the checksum problems.
> [ 8.944598] systemd-journald[292]: Received SIGTERM
> [ 70.616949] systemd-modules-load[453]: Module 'uinput' is already loaded
> [ 70.676072] systemd-udevd[457]: starting version 197
> [ 70.937319] microcode: AMD CPU family 0x6 not supported
> [ 71.598671] btrfs: disk space caching is enabled
> [ 71.617841] device label testfs1 devid 1 transid 4143 /dev/sdb1
> [ 71.619164] btrfs: disk space caching is enabled
> [ 71.629969] device label fedora devid 1 transid 2038 /dev/sda2
> [ 71.805339] btrfs: Error removing orphan entry, stopping orphan cleanup
> [ 71.806597] btrfs: could not do orphan cleanup -22
> [ 71.986601] device label testfs1 devid 1 transid 4143 /dev/sdb1
> [ 72.934724] btrfs: open_ctree failed
>
> I booted first with 3.8.0-0.rc3.git1.1.fc19 (which has a lot of
> issues) and then back with 3.7.2-201.fc18.
I don't see from the messages under which kernel it happened, but I
assume with both.
david
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-18 12:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17 20:23 btrfs: could not do orphan cleanup -22 Reartes Guillermo
2013-01-18 8:44 ` Sander
2013-01-18 12:08 ` David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox