Mike Bird wrote:
On Sun, 2006-01-15 at 09:59, drbob wrote:I've replaced a failed disk in my raid 1 setup. I replaced the disk (hda on-board ide), however the system then hung on reboot, this was because hda, being blank, had no MBR. The second disk (hde) is plugged into a promise ide card. So I went into the bios and set it to boot off the promise card first. Reboot when fine. I partitioned the new disk and added it to the array.I would check that this really worked.What do you have in "fdisk -l" and "cat /proc/mdstat". --Mike Bird I'm pretty sure it did. Attached are the outputs from fdisk and mdstat. regards, drbob |
Disk /dev/md1: 16 MB, 16384000 bytes 2 heads, 4 sectors/track, 4000 cylinders Units = cylinders of 8 * 512 = 4096 bytes This doesn't look like a partition table Probably you selected the wrong device. Device Boot Start End Blocks Id System /dev/md1p1 ? 27266189 240014990 850995205 72 Unknown Partition 1 does not end on cylinder boundary. /dev/md1p2 ? 91131273 159128113 271987362 74 Unknown Partition 2 does not end on cylinder boundary. /dev/md1p3 ? 21081743 21081743 0 65 Novell Netware 386 Partition 3 does not end on cylinder boundary. /dev/md1p4 336617473 336623927 25817+ 0 Empty Partition 4 does not end on cylinder boundary. Partition table entries are not in disk order Disk /dev/md2: 502 MB, 502071296 bytes 2 heads, 4 sectors/track, 122576 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md2 doesn't contain a valid partition table Disk /dev/md3: 148 MB, 148045824 bytes 2 heads, 4 sectors/track, 36144 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md3 doesn't contain a valid partition table Disk /dev/md5: 98 MB, 98959360 bytes 2 heads, 4 sectors/track, 24160 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md5 doesn't contain a valid partition table Disk /dev/md6: 4096 MB, 4096131072 bytes 2 heads, 4 sectors/track, 1000032 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md6 doesn't contain a valid partition table Disk /dev/md7: 4096 MB, 4096131072 bytes 2 heads, 4 sectors/track, 1000032 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md7 doesn't contain a valid partition table Disk /dev/md8: 32.0 GB, 32023642112 bytes 2 heads, 4 sectors/track, 7818272 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md8 doesn't contain a valid partition table Disk /dev/hdg: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdg1 1 24321 195358401 c W95 FAT32 (LBA) Disk /dev/hde: 40.9 GB, 40982151168 bytes 16 heads, 63 sectors/track, 79408 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hde1 * 1 32 16096+ fd Linux raid autodetect /dev/hde2 33 1005 490392 fd Linux raid autodetect /dev/hde3 1006 1292 144648 fd Linux raid autodetect /dev/hde4 1293 79408 39370464 5 Extended /dev/hde5 1293 1484 96736+ fd Linux raid autodetect /dev/hde6 1485 9421 4000216+ fd Linux raid autodetect /dev/hde7 9422 17358 4000216+ fd Linux raid autodetect /dev/hde8 17359 79408 31273168+ fd Linux raid autodetect Disk /dev/hda: 41.1 GB, 41110142976 bytes 255 heads, 63 sectors/track, 4998 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 3 24066 fd Linux raid autodetect /dev/hda2 4 65 498015 fd Linux raid autodetect /dev/hda3 66 84 152617+ fd Linux raid autodetect /dev/hda4 85 4998 39471705 5 Extended /dev/hda5 85 97 104391 fd Linux raid autodetect /dev/hda6 98 596 4008186 fd Linux raid autodetect /dev/hda7 597 1095 4008186 fd Linux raid autodetect /dev/hda8 1096 4998 31350816 fd Linux raid autodetect
Personalities : [raid1] [raid5] read_ahead 1024 sectors md1 : active raid1 hde1[1] hda1[0] 16000 blocks [2/2] [UU] md2 : active raid1 hde2[1] hda2[0] 490304 blocks [2/2] [UU] md3 : active raid1 hde3[1] hda3[0] 144576 blocks [2/2] [UU] md5 : active raid1 hde5[1] hda5[0] 96640 blocks [2/2] [UU] md6 : active raid1 hde6[1] hda6[0] 4000128 blocks [2/2] [UU] md7 : active raid1 hde7[1] hda7[0] 4000128 blocks [2/2] [UU] md8 : active raid1 hde8[1] hda8[0] 31273088 blocks [2/2] [UU]