Comment # 32 on bug 1043912 from
(In reply to Frederic Crozat from comment #29)
> (In reply to Nikolay Borisov from comment #28)
> > (In reply to Frederic Crozat from comment #26)
> > > I just upgraded my Leap 42.2 system to the latest kernel-default from
> > > maintenance update ( 4.4.74-18.20-default ) and problem is still there:
> > > 
> > > [    7.052652] BTRFS info (device sdb1): disk space caching is enabled
> > > [    7.060731] BTRFS error (device sdb1): super_total_bytes 1000203816960
> > > mismatch with fs_devices total_rw_bytes 1000203820544
> > > [    7.060733] BTRFS error (device sdb1): failed to read chunk tree: -22
> > > [    7.110461] BTRFS error (device sdb1): open_ctree failed
> > > 
> > > I look like the fix didn't make it or isn't properly applied
> > 
> > So can yo perform the following steps: 
> > 
> > 1. Boot your system with the last kernel I provided you with:
> > https://build.suse.de/project/show/home:nikbor:bsc1043912
> > 
> > 2. You should be able to mount the system and will likely see the warnings
> > your described before. 
> 
> I was able to mount the fs with this kernel but no warning at all.
> 
> I'm attaching both dump tree and super before running balance.

Can you attach logs AFTER you have run balance. What I'm seeing in the dumps
provided is that the DEV_ITEM still has unrounded value: 

item 0 key (DEV_ITEMS DEV_ITEM 1) itemoff 3897 itemsize 98
        devid 1 total_bytes 1000203820544 bytes_used 426351001600

My expectation would be that rebalance should store a rounded-down value.


You are receiving this mail because: