In some circumstances the LIST_VERSIONS (dmsetup targets) output is truncated because the size calculation forgets about a 'uint32_t' in each structure - but the inclusion of the whole of ALIGN_MASK frequently compensates for the omission. (This is a quick workaround to use an upper bound. The code ought to be fixed to supply the actual size.) As a result of this bug, 'lvcreate --type error' fails when it shouldn't.
dm-list-targets-fix.patch
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0132.html