is my raid1 array really working??
I've had a system up for a year and a half without
failure.
So, I am starting to wonder if my raid1 array is
really working.
I am using kernel 2.4.27-2-k7.
My partition table (so says webmin) is:
Location IDE device A
Cylinders 4865
Size 38 GB
Model ST340014A
Edit IDE parameters
No. Type Extent Start End Use Free
1 Linux 1 34 / 52 %
2 Extended 35 4865
5 Linux 35 642 /usr 57 %
6 Linux 643 1007 /var 38 %
7 Linux swap 1008 1103 swap
8 Linux 1104 1152 /tmp 90 %
9 Linux 1153 4865 /home 88 %
Location IDE device C
Cylinders 4865
Size 38 GB
Model ST340014A
Edit IDE parameters
No. Type Extent Start End Use Free
1 Linux raid 1 34
2 Extended 35 4865
5 Linux raid 35 642 /dev/md1
6 Linux raid 643 1007 /dev/md2
7 Linux raid 1008 1103 /dev/md3
8 Linux raid 1104 1152 /dev/md4
9 Linux raid 1153 4865 /dev/md5
My /etc/mdadm/mdadm.conf file looks like:
DEVICE partitions
ARRAY /dev/md5 level=raid1 num-devices=2
UUID=75c9333b:c99e99dd:9947f426:1f215bd9
devices=/dev/hda9,/dev/hdc9
ARRAY /dev/md4 level=raid1 num-devices=2
UUID=b0c62ab7:a45e909b:1670ba5d:8ee5c5df
devices=/dev/hda8,/dev/hdc8
ARRAY /dev/md3 level=raid1 num-devices=2
UUID=0fd97ccf:005a5c2a:6efc6511:5cd76a21
devices=/dev/hda7,/dev/hdc7
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=14edd478:d0a67bff:730fa08e:85eb3180
devices=/dev/hda6,/dev/hdc6
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=0b54d4cd:5cb855b5:1254f1d8:e048fe30
devices=/dev/hda5,/dev/hdc5
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=f8f40e71:86ab52d5:b8931d11:b5e877d8
devices=/dev/hda1,/dev/hdc1
And a cat /proc/mdstat looks like:
Personalities : [linear] [raid0] [raid1]
read_ahead 1024 sectors
md0 : inactive ide/host0/bus1/target0/lun0/part1[1]
0 blocks
md1 : active raid1
ide/host0/bus0/target0/lun0/part5[0]
ide/host0/bus1/target0/lun0/part5[1]
4883648 blocks [2/2] [UU]
md2 : active raid1
ide/host0/bus0/target0/lun0/part6[0]
ide/host0/bus1/target0/lun0/part6[1]
2931712 blocks [2/2] [UU]
md3 : active raid1
ide/host0/bus0/target0/lun0/part7[0]
ide/host0/bus1/target0/lun0/part7[1]
771008 blocks [2/2] [UU]
md4 : active raid1
ide/host0/bus0/target0/lun0/part8[0]
ide/host0/bus1/target0/lun0/part8[1]
393472 blocks [2/2] [UU]
md5 : active raid1
ide/host0/bus0/target0/lun0/part9[0]
ide/host0/bus1/target0/lun0/part9[1]
29824576 blocks [2/2] [UU]
unused devices: <none>
To me, it looks like HDA and HDC are in good health
and configured properly ... but what do I really know.
Can someone tell me how I can really know if my
configuration is working? Is it REALLY this simple?
Harland
Reply to: