On 2018/10/17 上午5:27, Dmitry Katsubo wrote:
> Dear btrfs team,
> 
> I often observe kernel traces on linux-4.14.0 (mostly likely due to background
> "btrfs scrub") which contain the following "characterizing" line (for the rest
> see attachments):
> 
> btrfs_remove_chunk+0x26a/0x7e0 [btrfs]
> 
> I wonder if somebody from developers team knows anything about this problem. 
> It
> seems like after such dump btfs volume continues to function OK.

It's a known minor problem.

"btrfs rescue fix-device-size <device>" could fix it offline (unmounted)

Or if you're using the fs as root fs, resize the fs by removing 4K would
also solve the problem:

  # btrfs filesystem resize <devid>:-4K <mnt>

The cause is old mkfs/kernel isn't aligning device size correctly, while
later kernel is pretty picky about that alignment.
It's mostly a developer oriented warning, no harm except a lot of scary
kernel warning and may slow down log system.

Thanks,
Qu

> 
> Thanks for any information!
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to