Hi,

        I exprienced a hard drive failure recently and replaced the hard
drive.  I rebuilt the mirrors.  Now it doesn't want to boot up.  I have
grub installed.  Does grub work well with raid1? Here are the outputs:

[EMAIL PROTECTED] /]# /sbin/grub-install /dev/md2
/dev/md2 does not have any corresponding BIOS drive.
[EMAIL PROTECTED] /]# /sbin/grub-install --recheck /dev/md2
Probing devices to guess BIOS drives. This may take a long time.
/dev/md2 does not have any corresponding BIOS drive.

Please advise.  Thanks in advance.

Ze

[EMAIL PROTECTED] /]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/md1
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=3
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-18.8smp)
        root (hd0,1)
        kernel /vmlinuz-2.4.20-18.8smp ro root=/dev/md1 hdc=ide-scsi
        initrd /initrd-2.4.20-18.8smp.img
title Red Hat Linux (2.4.20-18.8)
        root (hd0,1)
        kernel /vmlinuz-2.4.20-18.8 ro root=/dev/md1 hdc=ide-scsi
        initrd /initrd-2.4.20-18.8.img

[EMAIL PROTECTED] /]# cat /etc/fstab
/dev/md1                /                   ext3    defaults        1 1
/dev/md2                /boot               ext3    defaults        1 2
none                    /dev/pts            devpts  gid=5,mode=620  0 0
/dev/system/home        /home               ext3    defaults        1 2
none                    /proc               proc    defaults        0 0
none                    /dev/shm            tmpfs   defaults        0 0
/dev/system/tmp         /tmp                ext3    defaults        1 2
/dev/system/usr         /usr                ext3    defaults        1 2
/dev/system/local       /usr/local          ext3    defaults        1 2
/dev/system/var         /var                ext3    defaults        1 2
/dev/data/u1            /u1                 ext3    defaults        1 3
/dev/system/swap        swap                swap    defaults        0 0

[EMAIL PROTECTED] /]# cat /etc/raidtab
raiddev             /dev/md3
raid-level                  1
nr-raid-disks               2
chunk-size                  64k
persistent-superblock       1
nr-spare-disks              0
    device          /dev/sda3
    raid-disk     0
    device          /dev/sdb3
    raid-disk     1
raiddev             /dev/md1
raid-level                  1
nr-raid-disks               2
chunk-size                  64k
persistent-superblock       1
nr-spare-disks              0
    device          /dev/sda1
    raid-disk     0
    device          /dev/sdb1
    raid-disk     1
raiddev             /dev/md2
raid-level                  1
nr-raid-disks               2
chunk-size                  64k
persistent-superblock       1
nr-spare-disks              0
    device          /dev/sda2
    raid-disk     0
    device          /dev/sdb2
    raid-disk     1


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to