LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-10-2003, 11:46 AM   #1
ikke
LQ Newbie
 
Registered: May 2003
Location: Belgium
Distribution: Redhat9
Posts: 2

Rep: Reputation: 0
Software Raid Setup Ok - Reboot fails on disk failure test


Hi,

I have set up a software raid-1 with 2 IDE disks successfully. Everything seemed to work well until I tried to imitate a disk failure. I turned the box off and unplugged 1 HD. After I did that it was impossible to reboot (the bootloader doesn't appear). It didn't even work to reboot with a floppy. Now I have plugged both drives again and everything works again. Why did this failure test not work?

Any help is appreciated.

Below you can find some info about my setup:

----df ------------ ------------------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 7052308 2554648 4139420 39% /
/dev/md0 100890 14198 81483 15% /boot
/dev/md3 68754336 325860 64935952 1% /home
none 256916 0 256916 0% /dev/shm
/dev/cdrom1 551580 551580 0 100% /mnt/cdrom1

----- cat /proc/mdstat -----------------
Personalities : [raid1]
read_ahead 1024 sectors
md3 : active raid1 hde5[0] hdg5[1]
69850496 blocks [2/2] [UU]

md1 : active raid1 hde3[0] hdg3[1]
1052160 blocks [2/2] [UU]

md2 : active raid1 hde2[0] hdg2[1]
7164800 blocks [2/2] [UU]

md0 : active raid1 hde1[0] hdg1[1]
104192 blocks [2/2] [UU]

unused devices: <none>
 
Old 05-10-2003, 11:59 PM   #2
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 224

Rep: Reputation: 30
Hrm, I am curious how lilo writes to the MBR in a raid situation....i think your test would work in a running situation. in other words, if the drive fails while the box is running, raid would work....this is a good question because I have set my boxes up like this before but all my problems have happened during runtime and not before booting.....hrm....
 
Old 05-11-2003, 06:42 PM   #3
ikke
LQ Newbie
 
Registered: May 2003
Location: Belgium
Distribution: Redhat9
Posts: 2

Original Poster
Rep: Reputation: 0
I am using Grub as bootloader, I don't understand why the bootloader doesn't load with 1 disk, I guess that the 2 disks contain exactly the same data?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you know when one disk in RAID fails? SubCreations Linux - Software 2 06-21-2005 11:39 AM
RAID-5 with multiple disk failure, need help gregerbergman Linux - Hardware 1 03-07-2005 01:25 PM
Hardware raid 5 disk failure notification. rajeshkahara Linux - Hardware 2 02-12-2005 10:21 AM
Software raid 5 always missing 1 disk after reboot birkinshawc Linux - Hardware 0 05-20-2004 10:57 PM
RH9 Software Raid 1 hard drive failure - GRUB loader errors Mynar Linux - Newbie 1 01-28-2004 10:25 AM


All times are GMT -5. The time now is 08:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration