linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* error 2001, no inode item
@ 2014-04-07 23:14 Arun Persaud
  2014-04-08 12:10 ` Duncan
  0 siblings, 1 reply; 4+ messages in thread
From: Arun Persaud @ 2014-04-07 23:14 UTC (permalink / raw)
  To: linux-btrfs

Hello

my HD recently started crashing, so I rescued all files to a new one and
thought that this might be a good time to convert from ext4 to btrfs. I
copied all the files from my old HD using dd, converted and then resized
the file system. However, my old drive already had some errors.
Currently I have one file that I can't rm or overwrite (stale file
handle). Here is what I get when running btrfs check:

> btrfs check /dev/sda4

checking extents
checking free space cache
checking fs roots
root 5 inode 5769204 errors 2001, no inode item, link count wrong
	unresolved ref dir 5783881 index 3 namelen 38 name
61bd2ed1fba8bc8d2f12766c7e4b3dafff6350 filetype 1 error 4, no inode ref
root 5 inode 5899187 errors 2001, no inode item, link count wrong
	unresolved ref dir 5906761 index 3 namelen 38 name
61bd2ed1fba8bc8d2f12766c7e4b3dafff6350 filetype 1 error 0
Checking filesystem on /dev/sda4
UUID: 98190f1e-426f-433d-8335-1216b9a63d16
cache and super generation don't match, space cache will be invalidated
found 6932789174 bytes used err is 1
total csum bytes: 123239772
total tree bytes: 702812160
total fs tree bytes: 534839296
total extent tree bytes: 32509952
btree space waste bytes: 163897229
file data blocks allocated: 349199831040
 referenced 126131052544
Btrfs v3.12+20131125

the file is a git object, so that's why the name looks like a hash ;)

> uname -a
Linux apersaud 3.14.0-23.gfa168d7-desktop #1 SMP PREEMPT Tue Apr 1
12:54:08 UTC 2014 (fa168d7) x86_64 x86_64 x86_64 GNU/Linux

I'm running opensuse/Tumbleweed.

Any idea how I can fix the above? check --repair doesn't seem to help.
Any suggestions would be highly appreciated.

thanks

Arun

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

end of thread, other threads:[~2014-05-06 18:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 23:14 error 2001, no inode item Arun Persaud
2014-04-08 12:10 ` Duncan
2014-04-08 16:56   ` Arun Persaud
2014-05-05 22:22     ` Arun Persaud

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