File pvscan_2TB_limit.diff of Package lvm2
Index: tools/pvscan.c =================================================================== --- tools/pvscan.c.orig 2010-08-10 11:32:00.000000000 +0800 +++ tools/pvscan.c 2010-08-10 11:32:23.000000000 +0800 @@ -166,7 +166,7 @@ size_new += pv_size(pv); size_total += pv_size(pv); } else - size_total += pv_pe_count(pv) * pv_pe_size(pv); + size_total += (uint64_t)pv_pe_count(pv) * pv_pe_size(pv); } /* find maximum pv name length */