This is due to a bug in dmraid with the via metadata. It was trying to create a stripe using the ENTIRE disk, including the last few unused sectors that don't make up a full stripe. This patch fixes it to round down to the nearest stripe size:
--- dmraid-0.9.9+1.0.0.rc12.orig/1.0.0.rc12-pre1/lib/format/ataraid/via.c +++ dmraid-0.9.9+1.0.0.rc12/1.0.0.rc12-pre1/lib/format/ataraid/via.c @@ -406,7 +406,8 @@ rd->type = type(via); rd->offset = VIA_DATAOFFSET; - rd->sectors = rd->meta_areas->offset; + /* round down disk length to a hole stripe */ + rd->sectors = (~(VIA_STRIDE(via)-1)) & rd->meta_areas->offset; return (rd->name = name(lc, rd, 1)) ? 1 : 0; } Patch has been sent upstream. -- DMRAID stopped to work in kernels > 2.6.15 https://launchpad.net/bugs/54246 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs