Re: RAID 5: weird size results after Grow
From: Bill Davidsen <hidden>
Date: 2007-10-14 05:05:43
Marko Berg wrote:
Bill Davidsen wrote:quoted
Marko Berg wrote:quoted
I added a fourth drive to a RAID 5 array. After some complications related to adding a new HD controller at the same time, and thus changing some device names, I re-created the array and got it working (in the sense "nothing degraded"). But size results are weird. Each component partition is 320 G, does anyone have an explanation for the "Used Dev Size" field value below? The 960 G total size is as it should be, but in practice Linux reports the array only having 625,019,608 blocks.I don't see that number below, what command reported this?For instance df: $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/md0 625019608 358223356 235539408 61% /usr/pubquoted
quoted
How can this be, even though the array should be clean with 4 active devices?
df reports the size of the filesystem, mdadm reports the size of the array. -- bill davidsen [off-list ref] CTO TMR Associates, Inc Doing interesting things with small computers since 1979