On Friday April 5, babydr@baby-dragons.com wrote: > > Hello Neil , Something funny in the --Detail output from a raid5 > array I maintain , see below . Tia , JimL > > mdadm-0.8.1# mdadm -v -D /dev/md0 > /dev/md0: > Version : 00.90.00 > Creation Time : Sat Apr 14 06:16:46 2001 > Raid Level : raid5 > Array Size : 892800 (871.87 MiB 914.22 MB) > ^^^^^^ Thanks: I had larray_size = array_size << 9; when array_size was a "long" and larray_size was "long long" so some high bits got lost. It is now larray_size = array_size; larray_size <<= 9; which should work correctly. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html