[CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?

Wed Feb 18 09:07:19 UTC 2015
g <geleem at bellsouth.net>


On 02/18/2015 01:23 AM, Niki Kovacs wrote:
> Le 18/02/2015 08:09, Niki Kovacs a écrit :
>>
>> Apparently no spare devices have been created. So why do I only
>> have 226 GB of disk space under CentOS, when I had roughly 650 GB
>> under Slackware?
>
> An idea just crossed my mind. Could it be that 'df' is reporting a
> wrong partition size on the RAID 5 array? And how can I check if
> this is the case?

i have not built any raid system in linux, but from reading, i saw
that there is a little difference from unix.

also, between linux flavors, there can be a lot of difference.

in a way, case of...

  who wrote the book and how whoever is reading it.

ie, Slackware and CentOS.

looking at question of 'reporting', 'df' has various ways of reporting
size and might/may/could be what is causing difference.

so, until an exact reason/cause is replied...

besides '-h', what other arguments for 'df' did you try?

  df --block-size=1000
  df --block-size=1024
  df --block-size=K
  df --block-size=M
  df --block-size=G
  df --si
  df -T

instead of reading

  man df

have a look at

  info coreutils 'df invocation'


you can also use 'lsblk', which i find it to be off a bit due to
how it rounds of sizes, except when using '-b'

'disk utility', 'system monitor', 'kde info center', 'gparted', are
other ways of viewing allocation.


much luck finding solution.


-- 

peace out.

in a world with out fences, who needs gates.

CentOS GNU/Linux 6.6

tc,hago.

g
.