Fedora Linux Support Community & Resources Center
  #1  
Old 6th June 2008, 10:12 AM
okcomputer44 Offline
Registered User
 
Join Date: Nov 2005
Location: England/Hungary
Age: 39
Posts: 121
can't restore/boot from raid1 array

Hi guys!

I'm having a problem with my raid1 device. I have installed the whole system into 3 raid device.

md0 = ext2 /boot /raid1
md1 = ext3 / /raid1
md2 = swap /raid1

So I followed the instructions from feew site how to install the correct raid1 and how to restore it.

Problems:

- I can't boot the second hdd when I emulate an hdd error (disconnected the first hdd)
I tried booth way sda/sdb booth didn't work

- I reboot the system with rescue disk and the installer said i can't find any disk in the
system.

- Because of the installer can't find disk I can't start the grub to restore and setup any
disks at all.

- When the system try to boot from second disk I can't login into grub too.


The disk was resynced and I checkd it with cat /proc/mdstat 100% done

When I simulated the second disk failure the system was able to boot from first disk everything worked fine.

Basically there is no anything at all in fedora book about raid devices restore(Fedora 5, I had a look the Fedora 8 book in PCWORLD and same)
I googled that how to restore the disk(s) in raid 1 and I just find out many different ideas.(basically 80% was the same but)

So do I need to buy a raid1 hardware scsi card guys?

I need to solve this problem soon.

Thanks for any advice.

Laz
__________________
Registered Linux user #405129#
MCP 70-210, 70-290
Intel core 2 quad 2.4Ghz, 4 Gb RAM, ASUS P5K Workstation MB
2 * Seagate Cheetah 15K 147Gb U320_SCSI
DELL PERC 320/DC RAID controller

#########################
# http://opensourcetechnology.co.uk #
#########################

################################
# http://en.wikipedia.org/wiki/Rubik%27s_Cube #
################################
Reply With Quote
  #2  
Old 6th June 2008, 01:05 PM
okcomputer44 Offline
Registered User
 
Join Date: Nov 2005
Location: England/Hungary
Age: 39
Posts: 121
So it seems like I didn't do the grub sync to boot from booth disks. silly me!

When the new install done check the disk syncs.
When the disks syncs done(cat /proc/mdstat) run the grub.

>grub
>grub: root (hd0,0)
>grub: setup (hd0)
>grub: root (hd1,0)
>grub: setup(hd1)

quit.

Change the defect device. (hw setup)

run the mdadm --manage /dev/md0 --add /dev/sdb1
mdadm --manage /dev/md1 --add /dev/sdb2

cat /proc/mdstat recovery = 55% wait for sync then repeat the grub sync!!!!


I'll check it how it goes cos I'm not sure about the superblock, and sfdisk too.
Some page said needs to copy partitions and some page does not.

Laz
__________________
Registered Linux user #405129#
MCP 70-210, 70-290
Intel core 2 quad 2.4Ghz, 4 Gb RAM, ASUS P5K Workstation MB
2 * Seagate Cheetah 15K 147Gb U320_SCSI
DELL PERC 320/DC RAID controller

#########################
# http://opensourcetechnology.co.uk #
#########################

################################
# http://en.wikipedia.org/wiki/Rubik%27s_Cube #
################################
Reply With Quote
Reply

Tags
array, raid1, restore or boot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup a Raid1 Array(Fedora 10) Lopezadl2ian Using Fedora 4 21st February 2009 11:27 AM
Degraded RAID1 Array C4talyst Installation, Upgrades and Live Media 4 18th December 2007 10:34 PM
cannot boot raid1 BenCollver Installation, Upgrades and Live Media 3 28th September 2006 02:13 PM
intel D945 matrix raid 1 array how do i rebuild array? cow Hardware & Laptops 4 13th April 2006 03:06 PM


Current GMT-time: 11:24 (Monday, 20-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Lahr Instagram Photos - Anguilla Travel Photos - Kusa Photos