Incorrect length on via raid

Phillip Susi <[email protected]>
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
I have a via raid0 and with newer kernels dmraid fails to set up the 
table because the device mapper refuses to accept stripe tables that 
have a length that is not an even multiple of the stripe width.  I 
believe that all versions of dmraid up to and including rc12-pre1 
incorrectly set the length on my system, but the on disk metadata 
appears to contain the proper length.

dmraid -n output shows:

0x006 array.capacity_low: 72303744

But dmsetup table shows:

via_hfciifae: 0 144607678 striped 2 128 8:0 0 8:16 0

The total length should be 144607488 sectors, not 144607678.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.