linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs error
@ 2016-03-15 16:00 Paul Harrison
  2016-03-18 10:25 ` Paul Harrison
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Harrison @ 2016-03-15 16:00 UTC (permalink / raw)
  To: linux-btrfs

Hi all,

I'm new to btrfs, and have just taken over management of this system; can
anyone point me in the right direction with regard to the following error:

BTRFS error (device sda3): unable to find ref byte nr 402100224 parent 0
root 256 owner 1 offset
btrfs: Transaction aborted (error -2)
BTRFS error (device sda3) in _btrfs_free_extent:5696: errno=-2 No such entry
BTRFS error (device sda3) in btrfs_run_delayed_refs:2681: errno=-2 No such
entry
BTRFS error (device sda3) in cleanup_transaction:1530: errno=-2 No such
entry
iTCO_wdt: probe of iTCO_wdt failed with error -16

The filesystem is now read-only, can I recover from this?

I am running SUSE Linux Enterprise 11 SP4 64-bit.

Thanks in advance,

Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: btrfs error
  2016-03-15 16:00 btrfs error Paul Harrison
@ 2016-03-18 10:25 ` Paul Harrison
  2016-03-18 23:47   ` Duncan
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Harrison @ 2016-03-18 10:25 UTC (permalink / raw)
  To: linux-btrfs

Anyone? Would really appreciate a pointer or two!

Thanks

Paul

On Tue, Mar 15, 2016 at 4:00 PM, Paul Harrison
<paulharrisonsipad@gmail.com> wrote:
> Hi all,
>
> I'm new to btrfs, and have just taken over management of this system; can
> anyone point me in the right direction with regard to the following error:
>
> BTRFS error (device sda3): unable to find ref byte nr 402100224 parent 0
> root 256 owner 1 offset
> btrfs: Transaction aborted (error -2)
> BTRFS error (device sda3) in _btrfs_free_extent:5696: errno=-2 No such entry
> BTRFS error (device sda3) in btrfs_run_delayed_refs:2681: errno=-2 No such
> entry
> BTRFS error (device sda3) in cleanup_transaction:1530: errno=-2 No such
> entry
> iTCO_wdt: probe of iTCO_wdt failed with error -16
>
> The filesystem is now read-only, can I recover from this?
>
> I am running SUSE Linux Enterprise 11 SP4 64-bit.
>
> Thanks in advance,
>
> Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: btrfs error
  2016-03-18 10:25 ` Paul Harrison
@ 2016-03-18 23:47   ` Duncan
  0 siblings, 0 replies; 3+ messages in thread
From: Duncan @ 2016-03-18 23:47 UTC (permalink / raw)
  To: linux-btrfs

Paul Harrison posted on Fri, 18 Mar 2016 10:25:44 +0000 as excerpted:

> Anyone? Would really appreciate a pointer or two!

I was hoping someone, presumably a dev with understanding of the code, 
would reply here, as I'm just an admin-level list regular who uses btrfs 
on my own machines and helps with the relatively simpler (non-dev) 
questions here when I can, and this one's really beyond me.

However, given no other replies, maybe extremely limited help is better 
than none.  At least you'll know the post got thru, that way, and maybe 
the limited help will be enough.

You mention SuSE Linux Enterprise 11 SP4 64-bit, but this isn't a SUSE 
list, it's a distro agnostic btrfs Linux filesystem related list, and 
that SuSE (the form I still use tho I know it's dated) information means 
little to for instance, Gentoo users such as myself.

More helpful here is information about your kernel and btrfs userspace 
versions.

In particular, because the list considers btrfs still stabilizing, not 
yet fully stable and mature, the recommendation here is to run much more 
current code than enterprise distros in particular tend to run.

For the kernel, two tracks are recognized as supported, upstream (Linus/
mainline) current releases, and mainline LTS track.  For current track, 
the last two kernels are typically considered supported, so with 4.5 just 
out, 4.4 and 4.5, with 4.3 users expected to be upgrading by now.

For kernel LTS series track, 4.4 is the most recent LTS, with 4.1 before 
that, and 3.18 previous to that.  Until 4.4, the recommendation was again 
to keep to the latest two LTS kernel series, but as btrfs has matured and 
because 3.18 actually turned out to be reasonably stable btrfs-wise, 
we're still supporting it to some degree now as well, tho upgrade to at 
least 4.1 is still recommended.

For userspace, in normal runtime conditions, most userspace commands 
simply call the appropriate kernel code to do the real work, so userspace 
version doesn't tend to be as critical, as long as it doesn't get so old 
that it's difficult to map its commands and output to more current 
versions.  However, once things go wrong, the userspace version becomes 
far more critical as it's userspace code that helps you repair or restore 
files from the broken filesystem, and only newer versions have the latest 
bug fixes, etc, and thus are best equipped to help you repair or recover 
files from the damaged filesystem.  Userspace releases version releases 
are synced to the kernel cycle and developed in the same current bug 
context as the kernel series of the same major.minor number.

As a result, a reasonable rule of thumb is to run at least a userspace of 
a version similar to that of your kernel, tho newer is fine as well.  As 
long as you're following kernel version recommendations, that will ensure 
that your userspace doesn't get /too/ old.

Of course we do recognize that various distros, including enterprise 
distros that prefer ancient code, offer support for btrfs.  However, we 
don't track what patches they may or may not have backported to their 
nominally ancient kernel numbers on this list, as the list is in general 
focused on the mainline kernel.  As a result, we're not in a very good 
position to support those older versions, tho we do the best we can.  
What that means in practice is that if you choose to use that sort of 
distro support, you really should be getting your support from them, as 
they know what they've backported and what they've not and are better 
equipped to provide that support.  As I said, we still do the best we 
can, but often, that's asking you to upgrade to a more current kernel and/
or userspace and try again, reporting the results there if you still have 
problems.

So you didn't report the version numbers we'd need for this list, but 
given the enterprise distro you did report running, there's a good chance 
that your kernel and/or userspace is older than what the list can provide 
best support for, so your first step would be to either upgrade to a 
supported version as described above and try there, reporting appropriate 
version numbers if the problem still exists, or ask your distro for the 
support it offers on btrfs on older code, if indeed it does offer that 
support.

As I said, only extremely limited and general help, not specific to your 
problem at all, but it's the best I can do, in the absence of replies 
from others.  Hope it's at least of some help.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-18 23:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-15 16:00 btrfs error Paul Harrison
2016-03-18 10:25 ` Paul Harrison
2016-03-18 23:47   ` Duncan

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).