All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion `!(ret == -17)' failed
@ 2013-06-07  1:00 Andrea Gelmini
  2013-06-07  1:55 ` Josef Bacik
  0 siblings, 1 reply; 3+ messages in thread
From: Andrea Gelmini @ 2013-06-07  1:00 UTC (permalink / raw)
  To: Linux BTRFS

Hi everybody,
   and thanks a lot for your support and work.

   I've an external hard drive formatted with BTRFS that sometimes
goes readonly (no complains in logs or dmesg output).

   It happens with kernel v9.4 and latest vanilla kernel in dev, too.

   If I check it I got (git BTRFS progs):

./btrfsck /dev/mapper/toshi
Checking filesystem on /dev/mapper/toshi
UUID: 35eb15cd-d7e3-4be8-92f1-7b210353e241
checking extents
checking free space cache
btrfs: unable to add free space :-17
btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion
`!(ret == -17)' failed.

Thanks a lot for your time,
Andrea

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

* Re: btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion `!(ret == -17)' failed
  2013-06-07  1:00 btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion `!(ret == -17)' failed Andrea Gelmini
@ 2013-06-07  1:55 ` Josef Bacik
  2013-06-07  3:11   ` Andrea Gelmini
  0 siblings, 1 reply; 3+ messages in thread
From: Josef Bacik @ 2013-06-07  1:55 UTC (permalink / raw)
  To: Andrea Gelmini; +Cc: Linux BTRFS

On Thu, Jun 06, 2013 at 07:00:50PM -0600, Andrea Gelmini wrote:
> Hi everybody,
>    and thanks a lot for your support and work.
> 
>    I've an external hard drive formatted with BTRFS that sometimes
> goes readonly (no complains in logs or dmesg output).
> 
>    It happens with kernel v9.4 and latest vanilla kernel in dev, too.
> 
>    If I check it I got (git BTRFS progs):
> 
> ./btrfsck /dev/mapper/toshi
> Checking filesystem on /dev/mapper/toshi
> UUID: 35eb15cd-d7e3-4be8-92f1-7b210353e241
> checking extents
> checking free space cache
> btrfs: unable to add free space :-17
> btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion
> `!(ret == -17)' failed.
>

Can you try my git tree?

git://github.com/josefbacik/btrfs-progs.git

and see if that works better?  Thanks,

Josef 

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

* Re: btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion `!(ret == -17)' failed
  2013-06-07  1:55 ` Josef Bacik
@ 2013-06-07  3:11   ` Andrea Gelmini
  0 siblings, 0 replies; 3+ messages in thread
From: Andrea Gelmini @ 2013-06-07  3:11 UTC (permalink / raw)
  To: Josef Bacik; +Cc: Linux BTRFS

2013/6/7 Josef Bacik <jbacik@fusionio.com>:
> and see if that works better?  Thanks,

Perfect:
Checking filesystem on /dev/mapper/toshi
UUID: 35eb15cd-d7e3-4be8-92f1-7b210353e241
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
found 86358842550 bytes used err is 0
total csum bytes: 628677868
total tree bytes: 843415552
total fs tree bytes: 64225280
total extent tree bytes: 59244544
btree space waste bytes: 105300529
file data blocks allocated: 643975458816
 referenced 645510266880
Btrfs v0.20-rc1

Now I'm scrubbing.

Thanks a lot,
Andrea

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

end of thread, other threads:[~2013-06-07  3:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-07  1:00 btrfsck: free-space-cache.c:813: btrfs_add_free_space: Assertion `!(ret == -17)' failed Andrea Gelmini
2013-06-07  1:55 ` Josef Bacik
2013-06-07  3:11   ` Andrea Gelmini

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.