1 |
Greets, I currently try to setup a md-device containing of 4 partitions |
2 |
on 4 SATA-drives: |
3 |
|
4 |
# fdisk -l | grep "sd" |
5 |
Platte /dev/sda: 1000.2 GByte, 1000204886016 Byte |
6 |
/dev/sda1 1 2 16033+ fd Linux raid |
7 |
autodetect |
8 |
/dev/sda2 3 21 152617+ 82 Linux Swap / Solaris |
9 |
/dev/sda3 22 1116 8795587+ fd Linux raid |
10 |
autodetect |
11 |
/dev/sda4 1117 121601 967795762+ fd Linux raid |
12 |
autodetect |
13 |
Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte |
14 |
/dev/sdb1 1 2 16033+ fd Linux raid |
15 |
autodetect |
16 |
/dev/sdb2 3 21 152617+ 82 Linux Swap / Solaris |
17 |
/dev/sdb3 22 1116 8795587+ fd Linux raid |
18 |
autodetect |
19 |
/dev/sdb4 1117 121601 967795762+ fd Linux raid |
20 |
autodetect |
21 |
Platte /dev/sdc: 1000.2 GByte, 1000204886016 Byte |
22 |
/dev/sdc1 1 2 16033+ fd Linux raid |
23 |
autodetect |
24 |
/dev/sdc2 3 21 152617+ 82 Linux Swap / Solaris |
25 |
/dev/sdc3 22 1116 8795587+ fd Linux raid |
26 |
autodetect |
27 |
/dev/sdc4 1117 121601 967795762+ fd Linux raid |
28 |
autodetect |
29 |
Platte /dev/sdd: 1000.2 GByte, 1000204886016 Byte |
30 |
/dev/sdd1 1 2 16033+ fd Linux raid |
31 |
autodetect |
32 |
/dev/sdd2 3 21 152617+ 82 Linux Swap / Solaris |
33 |
/dev/sdd3 22 1116 8795587+ fd Linux raid |
34 |
autodetect |
35 |
/dev/sdd4 1117 121601 967795762+ fd Linux raid |
36 |
autodetect |
37 |
|
38 |
|
39 |
I want a RAID5-device md2 (without hotspare, while md1 *has* a |
40 |
hotspare-partition) containing the partitions "sd?4". |
41 |
|
42 |
I have now: |
43 |
|
44 |
cat /proc/mdstat |
45 |
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] |
46 |
md1 : active raid5 sdd3[3](S) sdc3[2] sdb3[1] sda3[0] |
47 |
17591040 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU] |
48 |
|
49 |
md2 : active raid5 sdd4[3] sdc4[2] sdb4[1] sda4[0] |
50 |
2903386944 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU] |
51 |
|
52 |
md0 : active raid1 sdb1[1] sda1[0] |
53 |
15936 blocks [2/2] [UU] |
54 |
|
55 |
|
56 |
md2 is the one that gives me headaches. AFAI understand it should be |
57 |
about 3TB in size, but it is only 774 GB .... |
58 |
|
59 |
# fdisk -l /dev/md2 |
60 |
|
61 |
Platte /dev/md2: 774.0 GByte, 774044975104 Byte |
62 |
2 Köpfe, 4 Sektoren/Spuren, 188975824 Zylinder |
63 |
Einheiten = Zylinder von 8 × 512 = 4096 Bytes |
64 |
Disk identifier: 0x00000000 |
65 |
|
66 |
|
67 |
Why? |
68 |
|
69 |
# cat /proc/version |
70 |
Linux version 2.6.25-gentoo-r8 (root@horde) (gcc version 4.1.2 (Gentoo |
71 |
4.1.2 p1.1)) #2 SMP Wed Oct 22 11:07:19 CEST 2008 |
72 |
|
73 |
Maybe anything wrong in my kernel? |
74 |
|
75 |
I also noticed that only 1G RAM of 2 had been detected as I had no |
76 |
SMP-support in the previous kernel ... now I have ... |
77 |
|
78 |
Thanks for any pointer .... |
79 |
Stefan |