2017-10-13 20:15 GMT+02:00 Chris Murphy <lists@xxxxxxxxxxxxxxxxx>: > On Fri, Oct 13, 2017 at 12:02 PM, Duncan <1i5t5.duncan@xxxxxxx> wrote: >> Those warnings aren't anything to be /too/ worried about. They are >> triggered when a btrfs device size isn't a multiple of the btrfs >> sectorsize (currently 4 KiB on amd64 aka x86_64). You can manually >> shrink your btrfs devices the fraction to an exact 4 KiB multiple, or >> wait a bit, and a new release of btrfs-tools should have a command to do >> it for you. > > > So it's an open question now why it was created with a device size > that isn't divisible by 4KiB. Seems like a bad idea to make it easy to > create virtual block devices based on 512 byte divisions, as it makes > it easy to end up with unaligned sectors at some point if one of the > underlying devices is an AF 512e device. Was it manually created? Or > was it created via the OS installer? Some time ago there was a feature > proposal for the Fedora installer being able to create bcache and > dmcache devices, but I haven't seen anything yet. I'm sure I created all bcache devices with a block size of 4k. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
