* Replacing fail boot disk from md raid1 set
@ 2004-02-01 13:31 Rami Addady
0 siblings, 0 replies; only message in thread
From: Rami Addady @ 2004-02-01 13:31 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-01 13:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-01 13:31 Replacing fail boot disk from md raid1 set Rami Addady
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox