Re: mdadm size issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thursday 24 September 2009, Nathan Norton wrote:
...
> All 10 drives are 2T in size.
...
> # mdadm --create  --verbose /dev/md3 --level=6 --raid-devices=10 /dev/sda1
> /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdi1 /dev/sdj1
> /dev/sdk1 /dev/sdl1 mdadm: layout defaults to left-symmetric
> mdadm: chunk size defaults to 64K
> mdadm: size set to 1953511936K
> Continue creating array?
>
> As you  can see mdadm sets the size to 1.9T

1953511936K (KiB, 2*2^40) is equal to 2 TB (2*10^12) no mystery here.

...
> # mdadm --detail /dev/md3
> /dev/md3:
>         Version : 0.90
>   Creation Time : Thu Sep 24 23:48:32 2009
>      Raid Level : raid6
>      Array Size : 15628095488 (14904.11 GiB 16003.17 GB)
>   Used Dev Size : 1953511936 (1863.01 GiB 2000.40 GB)

16003.17 GB (10^9) is exactly what you should get (10 drives -2 for parity 
times 2 TB).

/Peter

...
> Anyone got any ideas?
>
> Nathan

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux