linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Naira Kaieski <naira@faccat.br>
To: linux-raid@vger.kernel.org
Subject: Bootable Raid-1
Date: Tue, 01 Feb 2011 18:20:59 -0200	[thread overview]
Message-ID: <4D486B2B.6030609@faccat.br> (raw)

Hi,

I have read several articles on the internet and researched in the 
messages list, but I'm still having trouble configuring a raid level 1 
array that is bootable.

I configured a server some time agowith Gentoo Linux, Kernel 
2.6.28-hardened-r9, mdadm - v3.0 and 2 IDE hard drives, this is working 
correctly. For this installation iused as a basis for consultation 
Article http://en.gentoo-wiki.com/wiki/Migrate_to_RAID

Now, I want to use two SATA drives in raid level 1,

Now i have Gentoo Linux with kernel  2.6.36-hardened-r6 and mdadm - 
v3.1.4 and the instructions of Article dont work. The kernel was 
configured with support for disks raid autodetect and supported the raid 
level 1. But in the logs of dmesg does not run the auto-detection of the 
disks to the array, so in the boot when mounting the root device / 
dev/md2 the system can not find the device.

When I run mdadm - auto-detect the array are found somewhere but still 
displays message indicating that the raid device is not a valid 
partition table.

How can you configure a raid level 1 with bootable disks / dev / sda and 
/ dev / sdb?
I want three partitions:
     /dev/md1  - swap  - /dev/sda1, /dev/sdb1
     /dev/md2  - boot   - /dev/sda2, /dev/sdb2
     /dev/md3  - / - /dev/sda3, /dev/sdb3

I am using grub as bootloader.

Thanks,
Naira Kaieski

             reply	other threads:[~2011-02-01 20:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 20:20 Naira Kaieski [this message]
2011-02-01 20:43 ` Bootable Raid-1 Leslie Rhorer
2011-02-01 21:35   ` Naira Kaieski
2011-02-01 21:53     ` Leslie Rhorer
2011-02-02 15:56       ` hansbkk
2011-02-02 16:24         ` Roberto Spadim
2011-02-02 17:44           ` Leslie Rhorer
     [not found]             ` <CAGqmV7qRQ-6-dpTt5pywugtchFF4NtA5sNvVhBCOirpGhdgWiQ@mail.gmail.com>
2011-09-09  5:17               ` hansbkk
2011-09-10 17:56               ` Leslie Rhorer
2011-09-09  8:59             ` CoolCold
2011-09-15 19:33               ` Robert L Mathews
2011-02-02 17:36         ` Leslie Rhorer
2011-09-09 19:09     ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D486B2B.6030609@faccat.br \
    --to=naira@faccat.br \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).