linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Scobie <richard@sauce.co.nz>
To: Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Re: RAID 1 and grub
Date: Sun, 03 Feb 2008 16:50:25 +1300	[thread overview]
Message-ID: <47A53A01.9030809@sauce.co.nz> (raw)
In-Reply-To: <20080202235128.GB24990@rap.rap.dk>

Keld Jørn Simonsen wrote:

>> # grub
>> grub> device (hd0) /dev/hdc
>> grub> root (hd0,0)
>> grub> setup (hd0)
> 
> I do not grasp this. How and where is it said that two disks are
> involved? hda and hdc should both be involved.

There are not two disks involved in this instance.

This is used in the scenario where the primary disk in the RAID1 
(/dev/hda), already has grub installed in the MBR and you wish to 
install it on the secondary drive (/dev/hdc).

This then allows for a failed primary drive to be removed and the 
machine to boot from the secondary - (may need BIOS to be set to boot 
from secondary drive).

As an aside, after last weeks discovery that the Fedora 8 install had 
not installed grub on the secondary drive, as part of a RAID 1 install, 
some cursory Googling and searching Redhat's Knowledge base leads me to 
believe that this may well be normal for all Redhat (RHEL/Fedora) RAID1 
installs.

One has nothing to lose by installing grub on the second drive in this 
case and it may save some delay in recovery on losing the primary, 
although as has been pointed out, it is best practice to test missing 
drives as part of initial install testing.

Regards,

Richard
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-02-03  3:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 22:06 RAID 1 and grub Richard Scobie
2008-01-31  0:41 ` David Rees
2008-01-31  1:37   ` Richard Scobie
2008-01-31  2:33   ` Richard Scobie
2008-01-31  2:47     ` David Rees
2008-01-31  3:06       ` Richard Scobie
2008-01-31 17:51         ` David Greaves
2008-02-02 23:51       ` Keld Jørn Simonsen
2008-02-03  3:50         ` Richard Scobie [this message]
2008-02-03 15:39     ` Bill Davidsen
2008-02-03 15:26       ` Peter Rabbitson
2008-02-03 18:31       ` Richard Scobie

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=47A53A01.9030809@sauce.co.nz \
    --to=richard@sauce.co.nz \
    --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).