LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Raid boot up problem (https://www.linuxquestions.org/questions/linux-newbie-8/raid-boot-up-problem-232685/)

pancc888 09-19-2004 07:24 PM

Raid boot up problem
 
I am using Mandrake 10, with 2 harddisk, i am doing raid between 2 harddisk. So both harddisk are exactly the same. Primary harddisk in on IDE1, and secondary is on IDE2. In normal condition the PC able to boot up from Primary harddisk. But if the primary fail than if i restart than the pc will not able to restart, i think it is something to do with the boot loader from the secondary harddisk. I been using LILO as my boot loader.
I try to over come this problem by setting a boot floppy by using GRUB loader, because I been fail to make LILO floppy.

Mount point primary device secondary device raid device
/ /dev/hda5 /dev/hdc5 /dev/md1
/boot /dev/hda1 /dev/hda1 /dev/md0


my script in menu.lst for grub is:


#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1
fallback 9
color blue/cyan yellow/magenta

# For booting GNU/Hurd
title Mandrake [/vmlinuz]
root (hd1,0)
kernel /vmlinuz-i686-up-4GB root=/dev/hdc5 ro



it able to boot up the secondary harddisk, but it seem to have problem half way in the boot up! While it is Checking root file system

and the message come out is ::

fsck.ext/dev/md1.

the superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem. If the .................. and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

:Invalid argument while trying to open /dev/md1
Faild to check file system. Do you want to repair the errors?(Y/N)
(beware, you can lose data)

May i know what is my problem?Or how can I fix it?
May be can i make a boot loader into the secondary harddisk. May I have the solution?

thanks a lot!

Best Regards,
Pan


__________________
Thanks,
Best Regards,
Pancc

alyks 09-19-2004 07:32 PM

so, whenever you boot up, you get an error because it can't boot to the primary drive's partition?

pancc888 09-20-2004 01:57 AM

My primary is still running now, I doing this is for precaution step, for future my be the primary down i still can make sure this server running! Thanks

alyks 09-20-2004 02:05 AM

what...?

pancc888 09-20-2004 02:21 AM

Actually my primary is still ok now. For future consideration , if the primary harddisk down, i not able to access to the secondary harddisk. i already trying it now, i disable the primary, than i not able to access the PC at all after i restart! so now i have to do preparation. I can not take the risk for long down time for the PC, because it is company file server!

kenji1903 01-11-2005 09:09 PM

fixed your raid problem already, pancc888?

try googling on "raid1 +grub"


All times are GMT -5. The time now is 11:34 PM.