On 2018年04月29日 04:16, Paul Richards wrote:
> On 28 April 2018 at 20:39, Patrik Lundquist <patrik.lundqu...@gmail.com> 
> wrote:
>> On 28 April 2018 at 20:54, Paul Richards <paul.richa...@gmail.com> wrote:
>>>
>>> Hi,
>>> I recently upgraded from Linux 4.4.0 to 4.13.0 (Ubuntu 16.04 stock to
>>> hwe kernel).
>>>
>>> Since then, I've noticed lots of btrfs warnings in dmesg (example at
>>> the end).  I believe these warnings to be benign, and they relate to
>>> my partition not being a multiple of 4KiB in size (I confirmed that
>>> alignment is okay in this instance).
>>
>>
>> Run btrfs rescue fix-device-size <device>.
>>
> 
> 
> Excellent, that looks like exactly what I need.  It's a shame my
> google-fu didn't uncover it before I posted.
> 
> However, the "fix-device-size" sub-command is not available in
> btrfs-tools (v4.4) from Ubuntu 16.04.  I guess my original question
> still stands.  Is this warning safe for me to ignore?

Safe to ignore.

And there is another way to solve it.

Shrink your fs by 4K, and newer kernel will do the round down for you
and result new device size to be aligned.

Thanks,
Qu

> 
> 
> I will likely upgrade to Ubuntu 18.04 in a few months at which point
> I'll get a newer btrfs-tools, but until then can I safely ignore this
> warning?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to