Replacing fail boot disk from md raid1 set

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

 



Replacing fail boot disk from md raid1 set

One of my disk fail and I replace it with new one.
I fail to make the new disk bootable.
Right now the system is boot only from IDE2 master (hdc1)
Here are the steps I made, it use to work on previous occurrence:

- fdisk the new disk
-Adding all the partition to the raid array
  /sbin/raidhotadd /dev/mdX /dev/hdaY...
- Reboot from a Linux CD-ROM in rescue mode.
- mkdir /mnt/hda_disk_par1
- Mount the / partition
  mount /dev/hda1 /mnt/hda_disk_par1
- Replace md1 with hda1 in /etc/lilo.conf
- chroot /mnt/hda_disk_par1 /sbin/lilo
- Replace hda1 with md1 in /etc/lilo.conf
- halt
- disconnect hdc
- boot

At this stage the system not boot. I can boot it only in one of those
senarios:
 From boot diskette or connecting again hdc.

After boot the raid status of all the partition is  [UU] (up)

The configuration:
-Red Hat 8.0
-Two IDE disk both master on IDE1 (hda) and IDE2 (hdc)
-My bios is capable to boot from IDE1 or IDE2 master
-lilo boot loader
-My bios is capable to boot from IDE1 or IDE2 master

Any Idea what wrong?

Regards,
Addady

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux