Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Installation and Live Media
FedoraForum Search

Forgot Password? Join Us!

Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th October 2011, 03:30 AM
wardhj Offline
Registered User
 
Join Date: Jul 2009
Posts: 14
windows_7firefox
Intel RAID.

During the power-on sequence (before the OS starts), there is a screen called "Intel Matrix Storage Manager". It is set to RAID1. Everything on the screen looks good except the status is a yellow "Initialize" instead of a green "Normal". Intel support told me that I need a special driver, and they don't support Linux. What should I do?
Reply With Quote
  #2  
Old 12th October 2011, 07:29 AM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,860
linuxfedorafirefox
Re: Intel RAID.

Welcome to the forum,
to be honest i wouldnt bother, hardware raid is pretty slow, compared to software raid
Reply With Quote
  #3  
Old 12th October 2011, 02:07 PM
wardhj Offline
Registered User
 
Join Date: Jul 2009
Posts: 14
windows_7firefox
Re: Intel RAID.

Dangermouse, thanks for the intel. Can I set up software RAID1 _after_ Fedora installation, with all files from the installation (including GRUB and boot sector) on the RAID? I don't see how this is possible unless setting up the RAID is the first step in the installation.
Reply With Quote
  #4  
Old 12th October 2011, 03:27 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,860
linuxfedorafirefox
Re: Intel RAID.

what i did was a 500mb raid partion on each drive and set them to raid1(boot), then raid partion with all space left on all drives on raid 0(/), i didnt do swap as i had over 2gig mem, this i found to the fastest for me, however if a drive fails then the sytem wont boot
(not that it happened to me), with that set up you should get the fastest speed, but its not considered a safe way for breakdowns etc..
Others may have different opinions

Edit Swap can be raid 1 or raid 0 if used.
Reply With Quote
  #5  
Old 21st October 2011, 07:17 PM
wardhj Offline
Registered User
 
Join Date: Jul 2009
Posts: 14
windows_7firefox
Boot loader and software RAID1.

During installation, Anaconda asks me which of my two disks should have the "boot loader".

Now I'm confused. I want software RAID1. If the boot loader is on only one of the two disks, then I won't have full RAID1.
Reply With Quote
  #6  
Old 21st October 2011, 07:26 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,334
linuxfirefox
Re: Boot loader and software RAID1.

Does this help? http://docs.fedoraproject.org/en-US/...ng-raid-hw-x86
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #7  
Old 21st October 2011, 07:30 PM
wardhj Offline
Registered User
 
Join Date: Jul 2009
Posts: 14
windows_7firefox
Re: Boot loader and software RAID1.

Thanks Bob. Yes, that is the correct documentation. I already had it up in my browser.

My problem was due to my error. I clicked "Use All Space" instead of the "Create Custom Layout" option which is required to set up software RAID for installation.
Reply With Quote
  #8  
Old 21st October 2011, 07:58 PM
wardhj Offline
Registered User
 
Join Date: Jul 2009
Posts: 14
windows_7firefox
Can you put /boot into software RAID during installation?

Can you put /boot into software RAID1 during installation?

In other words, is is possible, during Fedora 15 installation, to put all the files necessary for booting into software RAID1?

If not, what is the use of software RAID1? If you can't boot, nothing else matters.
Reply With Quote
  #9  
Old 21st October 2011, 08:48 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,150
linuxfedorafirefox
Re: Can you put /boot into software RAID during installation?

Nope... well, not usually.

The problem with all software raid configurations and booting is that the configuration has to be loaded before the system can be loaded. That would require grub to be able to scan for raid configurations, build the raid, and THEN it could read the kernel into memory.

Now with a simple raid 1, it may be possible by treating the boot disk as a single unit during boot, and only becoming a member of the raid after the system is up.

The problem with this is that if the boot disk is removed, then the mirror, must become the boot disk... And that depends on both disks being on the same controller... Even then, it doesn't necessarily work because the actual boot blocks are specific to the disk.

For raid volumes, the volume header is not the same as a partition header... and each member of a raid group is uniquely identified so that the raid can be identified by the system. In addition, the partition definitions on PCs are not large enough to hold raid information - so the raid volumes are more like an extended partition - the partition table only defines the low level physical partition, then a logical volume header is added within the partition... and within the logical volume partition (which spans one or more partitions) is divided up into more partitions... which then hold the filesystem information.

What I used to do for uptime operations was to maintain two boot partitions (limited size). When updates come in they get applied to the current active boot partition. After it is validated, I would copy it to the alternate boot partition and if necessary, re-create the boot blocks on that drive.

Putting a /boot partition into a raid is not really that useful - it is only updated when new kernels are put out. Keeping a bootable backup (on another drive of course) is not that hard.

It used to be possible to use dd to make that copy. Now that disks are no longer identified by hardware, that fails - you get two identical partitions/drives, with identical identifications (UUID, volume name,...) and that makes usage difficult. Possible, but once the boot disk is duplicated, it has to be removed from the system and put on a shelf.
Reply With Quote
  #10  
Old 21st October 2011, 08:58 PM
jenaniston's Avatar
jenaniston Offline
Registered User
 
Join Date: Dec 2009
Location: Malibu, California
Posts: 318
linuxfirefox
Re: Can you put /boot into software RAID during installation?

Quote:
Originally Posted by jpollard View Post

. . .Putting a /boot partition into a raid is not really that useful -
Check this page's section "Booting from RAIDs" and the /boot partition ... it may be helpful to ya' ?

http://docs.fedoraproject.org/en-US/...setup-x86.html

Good luck.
Reply With Quote
  #11  
Old 21st October 2011, 09:13 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,150
linuxfedorafirefox
Re: Can you put /boot into software RAID during installation?

No help there at all. It just mentions hardware raid.

All it has is:

Quote:
f you have a RAID card, be aware that some BIOSes do not support booting from the RAID card. In cases such as these, the /boot/ partition must be created on a partition outside of the RAID array, such as on a separate hard drive. An internal hard drive is necessary to use for partition creation with problematic RAID cards.
A /boot/ partition is also necessary for software RAID setups.
If you have chosen to automatically partition your system, you should select Review and manually edit your /boot/ partition.
But nothing about using a raid1.
Reply With Quote
  #12  
Old 21st October 2011, 10:11 PM
wardhj Offline
Registered User
 
Join Date: Jul 2009
Posts: 14
windows_7firefox
Re: Can you put /boot into software RAID during installation?

jpollard: Your reply looks like the straight dope. I could not absorb it in a single reading, but I'll keep trying. Thanks.

jeaniston: I think jpollard is right, your link does not directly address my question. And I had already found those installation instructions. But thanks anyhow.
Reply With Quote
  #13  
Old 21st October 2011, 10:28 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: Can you put /boot into software RAID during installation?

Hello,

I have always ran my fedora /boot in a raid ( mirror ) config.


/dev/md0 1007884 114704 841984 12% /boot


md0 : active raid1 sda1[0] sdc1[1]
1023988 blocks super 1.0 [2/2] [UU]

One thing you can do is set of grub commands on the second disk to make it boot up if you lose your first drive.
Reply With Quote
  #14  
Old 21st October 2011, 11:04 PM
wardhj Offline
Registered User
 
Join Date: Jul 2009
Posts: 14
windows_7firefox
Re: Can you put /boot into software RAID during installation?

jpollard: Well, I am still confused. Suppose a user had

/dev/sda1 /boot
/dev/sda2 RAID

/dev/sdb RAID

and /dev/sda fails. Now he needs to replace /dev/sda. He does a shutdown and physically installs a new drive in the /dev/sda slot. Now he can't boot because the machine contains no /boot.

And even if he hot-replaces /dev/sda (without a shutdown), rebuilding will not restore /boot. So he can not restart the machine.

In other words, the limitation you have described appears to imply that software RAID is useless for 50% of disk failures (ie, when the boot disk is the one that fails).[COLOR="Silver"][COLOR="Silver"][COLOR="Silver"][COLOR="Silver"]

---------- Post added at 05:04 PM ---------- Previous post was at 05:03 PM ----------

Quote:
Originally Posted by scott32746 View Post
Hello,

I have always ran my fedora /boot in a raid ( mirror ) config.


/dev/md0 1007884 114704 841984 12% /boot


md0 : active raid1 sda1[0] sdc1[1]
1023988 blocks super 1.0 [2/2] [UU]

One thing you can do is set of grub commands on the second disk to make it boot up if you lose your first drive.
scott32746: How do you put /boot into the RAID1 mirror? Do you use a "fake RAID" setup, where the hardware is RAID-aware? Or do you use the normal Fedora installation procedure?

For me, the normal Fedora installation does not allow putting /boot into the RAID, because it requires that the /boot partition and the two RAID partitions be created all in one step.
Reply With Quote
  #15  
Old 22nd October 2011, 03:33 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,150
linuxfedorafirefox
Re: Can you put /boot into software RAID during installation?

Umm... you cant use
Quote:
/dev/sda1 /boot
/dev/sda2 RAID

/dev/sdb RAID
for a raid (disk size of sdb will be different from sda2).

The partitioning of sdb must match that of sda. Then you can raid sda2 and sdb2.

If you have sda1 as /boot, you can then COPY it to sdb1.

The problem with raiding sda1 and sdb1 is still the problem of nested partitions. There can only be one boot disk. If you remove that boot disk (due to failure, or even replacement) the system will not boot until you reinstall the boot blocks.

RAID 1 (mirroring) will not do that because the boot block (at least as far as the MBR) is not part of the filesystem. Nor is it part of the LVM for software raid. And rebuilding a mirror will not rebuild the MBR on a disk.

It MAY rebuild a partition boot block in an LVM, but that isn't the same block as the MBR.
Reply With Quote
Reply

Tags
installation, or boot, raid, software

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
Partition and software RAID help for new Linux-only installation GFWorkman Installation and Live Media 2 29th October 2010 06:48 PM
Software Raid installation on Dell PowerEdge andyshea Installation and Live Media 0 19th November 2009 09:08 AM
Software RAID at installation only? NitroPress Installation and Live Media 13 30th December 2008 06:30 AM
software raid at installation ... nst38 Installation and Live Media 2 28th September 2005 08:52 AM
Software RAID after installation Condatis Using Fedora 1 19th December 2004 04:30 PM


Current GMT-time: 08:37 (Thursday, 20-06-2013)

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