Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: magwm on October 21, 2008, 11:20:01 AM
-
Hello, there I am again to inquire about my raid configuration..
for some reaso, my raid thinks there should be 3 disks, while there are only two.
This is a production server, I would hate to break it, and at the moment it performs perfectly.. The raid once or twice found an error on one of the two disks, and repaired it without hiccups. but every time I reboot it gives the degradedarray error message..
can anyone give me a hint on how to proceed? thanks a lot.
here are the details:
[root@www ~]# mdadm --examine /dev/sda1
/dev/sda1:
Magic : a92b4efc
Version : 00.90.00
UUID : 123f3a9c:9ade4333:c858deb7:b1aea4be
Creation Time : Tue May 8 19:03:09 2007
Raid Level : raid1
Raid Devices : 3
Total Devices : 2
Preferred Minor : 1
Update Time : Tue Oct 21 10:53:47 2008
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 5f904e68 - correct
Events : 0.4101
Number Major Minor RaidDevice State
this 1 8 1 1 active sync /dev/sda1
0 0 0 0 0 removed
1 1 8 1 1 active sync /dev/sda1
2 2 8 17 2 active sync /dev/sdb1
[root@www ~]# mdadm --examine /dev/sda2
/dev/sda2:
Magic : a92b4efc
Version : 00.90.00
UUID : 94b5168f:f65fe5e2:8f34cf7d:7724b91b
Creation Time : Tue May 8 19:03:09 2007
Raid Level : raid1
Raid Devices : 3
Total Devices : 2
Preferred Minor : 2
Update Time : Tue Oct 21 11:00:11 2008
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 1
Spare Devices : 0
Checksum : ccc260bd - correct
Events : 0.15545707
Number Major Minor RaidDevice State
this 0 8 2 0 active sync /dev/sda2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/sdb2
2 2 0 0 2 faulty removed
[root@www ~]# mdadm --detail --verbose /dev/md1
/dev/md1:
Version : 00.90.01
Creation Time : Tue May 8 19:03:09 2007
Raid Level : raid1
Array Size : 104320 (101.89 MiB 106.82 MB)
Device Size : 104320 (101.89 MiB 106.82 MB)
Raid Devices : 3
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Tue Oct 21 10:53:47 2008
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 123f3a9c:9ade4333:c858deb7:b1aea4be
Events : 0.4101
Number Major Minor RaidDevice State
0 0 0 - removed
1 8 1 1 active sync /dev/sda1
2 8 17 2 active sync /dev/sdb1
[root@www ~]# mdadm --detail --verbose /dev/md2
/dev/md2:
Version : 00.90.01
Creation Time : Tue May 8 19:03:09 2007
Raid Level : raid1
Array Size : 17816000 (16.99 GiB 18.24 GB)
Device Size : 17816000 (16.99 GiB 18.24 GB)
Raid Devices : 3
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Tue Oct 21 11:02:40 2008
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 94b5168f:f65fe5e2:8f34cf7d:7724b91b
Events : 0.15545793
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
2 0 0 - removed
-
What is output of
fdisk -l
and
cat /proc/mdstat
-
here they are:
[root@www html]# fdisk -l
Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 9729 78148161 83 Linux
Disk /dev/sda: 18.3 GB, 18351959040 bytes
255 heads, 63 sectors/track, 2231 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 2231 17816085 fd Linux raid autodetect
Disk /dev/sdb: 18.3 GB, 18351959040 bytes
255 heads, 63 sectors/track, 2231 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 fd Linux raid autodetect
/dev/sdb2 14 2231 17816085 fd Linux raid autodetect
Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2: 18.2 GB, 18243584000 bytes
2 heads, 4 sectors/track, 4454000 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/dm-0: 16.0 GB, 16072572928 bytes
2 heads, 4 sectors/track, 3923968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 2080 MB, 2080374784 bytes
2 heads, 4 sectors/track, 507904 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/dm-1 doesn't contain a valid partition table
[root@www html]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda2[0] sdb2[1]
17816000 blocks [3/2] [UU_]
md1 : active raid1 sda1[1] sdb1[2]
104320 blocks [3/2] [_UU]
unused devices: <none>