public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: Goswin von Brederlow <goswin-v-b@web.de>
To: Maurice Hilarius <maurice@harddata.com>
Cc: harold@uga.edu, vger majordomo for lists <linux-raid@vger.kernel.org>
Subject: Re: Draft Mirrored Linux Mini How-to - sfdisk suggestion
Date: Sat, 08 Aug 2009 03:13:23 +0200	[thread overview]
Message-ID: <87r5vnp0p8.fsf@frosties.localdomain> (raw)
In-Reply-To: <4A7C47DF.3000307@harddata.com> (Maurice Hilarius's message of "Fri, 07 Aug 2009 09:27:27 -0600")

Maurice Hilarius <maurice@harddata.com> writes:

> Harold Pritchett wrote:
>> Following this note is a draft of a "Mirrored Linux Mini How-to"
>> document.
>> ..
>> To ensure that the partitions are correct, and in the correct order,
>> boot from
>> the install CD/DVD and run the rescue system.  Use fdisk from this system
>> to partition the two drives.
>> ..
>> In the event of a disk failure, follow the below procedure.
>> ..
>> 10. Bring up the system and use fdisk to partition the new drive EXACTLY
>>     the same as the existing drive.
>
> I suggest that the steps involving partitioning multiple drives are
> prone to error.
>
> I offer that the use sfdisk is more accurate, and user friendly.
>
> By using sfdisk with the -d option we can get a dump of the current
> partition table in a regular file,
> and if needed we can restore it from that file.
>
> Example:
>
> |	sfdisk -d /dev/sda | sfdisk /dev/sdb
>
> This is a very simple way to duplicate the partition table from one disk to another.
>
> |

ACK. I do that too.

Now we only need the same thing directly in the installer.

MfG
        Goswin

  reply	other threads:[~2009-08-08  1:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4A78292A.5000607@in.ibm.com>
     [not found] ` <1249421223.18245.36.camel@pasglop>
2009-08-05  9:17   ` 2.6.31-rc5-git2 crash on a idle system Sachin Sant
2009-08-05  9:52     ` Benjamin Herrenschmidt
2009-08-06 13:33       ` Sachin Sant
2009-08-06 13:40         ` Michael Ellerman
2009-08-06 21:51         ` Benjamin Herrenschmidt
2009-08-07  0:08           ` Draft Mirrored Linux Mini How-to Harold Pritchett
2009-08-07  2:09             ` Goswin von Brederlow
2009-08-07  3:53             ` Tapani Tarvainen
2009-08-08  1:11               ` Goswin von Brederlow
2009-08-08  1:41                 ` NeilBrown
2009-08-08  7:59                   ` Goswin von Brederlow
2009-08-08 15:24                     ` John Robinson
2009-08-08 14:09                   ` Bill Davidsen
2009-08-07  8:10             ` Fredrik Pettersson
2009-08-07  9:51             ` Keld Jørn Simonsen
     [not found]               ` <4A7C5BD2.80508@uga.edu>
     [not found]                 ` <20090807173423.GA32127@rap.rap.dk>
2009-08-08 11:36                   ` Keld Jørn Simonsen
2009-08-07 15:27             ` Draft Mirrored Linux Mini How-to - sfdisk suggestion Maurice Hilarius
2009-08-08  1:13               ` Goswin von Brederlow [this message]
2009-08-09 18:55     ` 2.6.31-rc5-git2 crash on a idle system Louwrentius

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=87r5vnp0p8.fsf@frosties.localdomain \
    --to=goswin-v-b@web.de \
    --cc=harold@uga.edu \
    --cc=linux-raid@vger.kernel.org \
    --cc=maurice@harddata.com \
    /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