lvcreate error message "divisible by 6" bug? LVM version: 2.02.86(2)-cvs
If I execute the following command I get an error message that doesn't make sense to me:
lvcreate --name test --corelog --mirrors 2 --stripes 2 --extents 20 vg0100
Number of extents requested (20) needs to be divisible by 6
I see why it needs to be divisible by two, so the stripes come out even. But why does the number of mirrors matter? I can get to the same place by first making a linear volume of 20 extents then adding 2 mirror legs so why can't I do it all at once? To me it looks like the <total> number of extents across all three mirror legs need to be divisible by 6 but that falls out naturally from having each leg a size divisible by two.
LVM version: 2.02.86(2)-cvs (2011-04-29)
Library version: 1.02.65-cvs (2011-04-29)
Driver version: 4.20.0
Thank you.