All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs check --repair couldn't solve problem with btrfs partition
@ 2014-11-10 19:07 Михаил Гаврилов
       [not found] ` <54646A11.1020408@cn.fujitsu.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Михаил Гаврилов @ 2014-11-10 19:07 UTC (permalink / raw)
  To: linux-btrfs

Hi!

Several times I try repair my btrfs partition with follow commands:
[root@localhost ~]# umount /home

root@localhost ~]# btrfs check --repair /dev/sdb1
enabling repair mode
Fixed 0 roots.
Checking filesystem on /dev/sdb1
UUID: 82df2d84-bf54-46cb-84ba-c88e93677948
checking extents
checking free space cache
cache and super generation don't match, space cache will be invalidated
checking fs roots
root 5 inode 14121739 errors 2000, link count wrong
unresolved ref dir 12843363 index 36917 namelen 11 name Preferences
filetype 0 errors 3, no dir item, no dir index
root 5 inode 14121759 errors 2000, link count wrong
unresolved ref dir 139955 index 340700 namelen 18 name
session_state.xspf filetype 0 errors 3, no dir item, no dir index
found 2897923331138 bytes used err is 1
total csum bytes: 3100962412
total tree bytes: 4638130176
total fs tree bytes: 950992896
total extent tree bytes: 142475264
btree space waste bytes: 608962027
file data blocks allocated: 33183423946752
 referenced 3177308782592

Btrfs v3.17


# rpm -q btrfs-progs
btrfs-progs-3.17-1.fc21.x86_64


And every time I see this messages.



--
Best Regards,
Mike Gavrilov.

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

* Re: btrfs check --repair couldn't solve problem with btrfs partition
       [not found] ` <54646A11.1020408@cn.fujitsu.com>
@ 2014-11-13  8:24   ` Qu Wenruo
  0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2014-11-13  8:24 UTC (permalink / raw)
  To: mikhail.v.gavrilov; +Cc: linux-btrfs

>
> Hi!
>
> Several times I try repair my btrfs partition with follow commands:
> [root@localhost ~]# umount /home
>
> root@localhost ~]# btrfs check --repair /dev/sdb1
> enabling repair mode
> Fixed 0 roots.
> Checking filesystem on /dev/sdb1
> UUID: 82df2d84-bf54-46cb-84ba-c88e93677948
> checking extents
> checking free space cache
> cache and super generation don't match, space cache will be invalidated
> checking fs roots
> root 5 inode 14121739 errors 2000, link count wrong
> unresolved ref dir 12843363 index 36917 namelen 11 name Preferences
> filetype 0 errors 3, no dir item, no dir index
> root 5 inode 14121759 errors 2000, link count wrong
> unresolved ref dir 139955 index 340700 namelen 18 name
> session_state.xspf filetype 0 errors 3, no dir item, no dir index
> found 2897923331138 bytes used err is 1
The problem seems not hard to repair in btrfs-progs.

But I'm also curious about why this happens.
Is there any ungraceful shutdown or things like that?

Also, would you mind sending us the btrfs-image dump?
btrfs-debug-tree output would also help, although it may be bigger than
output of btrfs-image.

Thanks,
Qu
> total csum bytes: 3100962412
> total tree bytes: 4638130176
> total fs tree bytes: 950992896
> total extent tree bytes: 142475264
> btree space waste bytes: 608962027
> file data blocks allocated: 33183423946752
>   referenced 3177308782592
>
> Btrfs v3.17
>
>
> # rpm -q btrfs-progs
> btrfs-progs-3.17-1.fc21.x86_64
>
>
> And every time I see this messages.
>
>
>
> --
> Best Regards,
> Mike Gavrilov.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
>

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

end of thread, other threads:[~2014-11-13  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10 19:07 btrfs check --repair couldn't solve problem with btrfs partition Михаил Гаврилов
     [not found] ` <54646A11.1020408@cn.fujitsu.com>
2014-11-13  8:24   ` Qu Wenruo

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.