Display more information when mirroring boot device fails due to target device size being too small
We recently increased the verbosity of this verbosity of this message, but it still needs a bit of work.
The device called USB Flash Memory (14.45 GB, 30310400 sectors does not have enough space to mirror the old device USB Flash Memory (14.45 GB, 30310400 sectors). Please use a larger device.
This tells the user that their device was exactly the same size as the old one, but somehow still not big enough.
This message needs to tell the size needed for the new partitions to show what it is trying to do. The error is likely due to a bigger bootcode partition.
The new device (USB Flash Memory, 15.0 GB, 15,728,640 blocks) does not have enough space to to hold the required new partitions (bios-boot, 1,024 blocks, and freebsd-zfs, 16,777,216 blocks, total of 16,778,240 blocks). New mirrored devices might require more space than existing devices due to changes in the booting procedure.
(Block sizes should also be commafied for easier reading.)
(I've written about this before, and tried but could not find that in the previous bugs. Sorry.)