On 2018年01月03日 09:12, Dmitry Katsubo wrote:
> Dear btrfs team,
> 
> I send a kernel crash report which I have observed recently during btrfs 
> scrub.
> It looks like scrub itself has completed without errors.
> 
> # btrfs scrub status /home
> scrub status for 83a3cb60-3334-4d11-9fdf-70b8e8703167
>         scrub started at Mon Jan  1 06:52:01 2018 and finished after 00:30:47
>         total bytes scrubbed: 87.55GiB with 0 errors
> 
> # btrfs scrub status /var/log
> scrub status for 5b45ac8e-fd8c-4759-854a-94e45069959d
>         scrub started at Mon Jan  1 06:52:01 2018 and finished after 00:15:45
>         total bytes scrubbed: 23.39GiB with 0 errors
> 
> Linux kernel v4.14.2-1
> btrfs-progs v4.7.3-1
> 

It's not a kernel crash (if I didn't miss anything), but just kernel
warning.

The warning is caused by the fact that your fs (mostly created by old
mkfs.btrfs) has device with unaligned size.

You could either resize the device down a little (e.g. -4K) and newer
kernel (the one you're using should be new enough) could handle it well.

Or you could update your btrfs-progs (I assume you're using Arch, which
is already shipping btrfs-progs v4.14) and use "btrfs rescue
fix-device-size" to fix other device related problems offline.
(Not only the warning, but also potential superblock size mismatch)

Thanks,
Qu

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to