All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maurice Hilarius <maurice@harddata.com>
To: harold@uga.edu, vger majordomo for lists <linux-raid@vger.kernel.org>
Subject: Re: Draft Mirrored Linux Mini How-to - sfdisk suggestion
Date: Fri, 07 Aug 2009 09:27:27 -0600	[thread overview]
Message-ID: <4A7C47DF.3000307@harddata.com> (raw)
In-Reply-To: <4A7B708F.4050406@uga.edu>

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.

|


-- 
Regards, Maurice

  parent reply	other threads:[~2009-08-07 15:27 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 12:27 2.6.31-rc5-git2 crash on a idle system Sachin Sant
2009-08-04 13:43 ` 2.6.31-rc5-git2 crash [net/core/flow.c:flow_cache_new_hashrnd] Sachin Sant
2009-08-04 14:15   ` Michael Ellerman
2009-08-04 14:15     ` Michael Ellerman
2009-08-06 22:23     ` Benjamin Herrenschmidt
2009-08-06 22:23       ` Benjamin Herrenschmidt
2009-08-07  2:54       ` Josh Boyer
2009-08-07  2:54         ` Josh Boyer
2009-08-07  3:13         ` Benjamin Herrenschmidt
2009-08-07  3:49           ` Tony Breeds
2009-08-11  5:25       ` Sachin Sant
2009-08-04 21:27 ` 2.6.31-rc5-git2 crash on a idle system Benjamin Herrenschmidt
2009-08-05  9:17   ` Sachin Sant
2009-08-05  9:17     ` Sachin Sant
2009-08-05  9:52     ` Benjamin Herrenschmidt
2009-08-05  9:52       ` Benjamin Herrenschmidt
2009-08-06 13:33       ` Sachin Sant
2009-08-06 13:33         ` Sachin Sant
2009-08-06 13:40         ` Michael Ellerman
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             ` Maurice Hilarius [this message]
2009-08-08  1:13               ` Draft Mirrored Linux Mini How-to - sfdisk suggestion Goswin von Brederlow
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=4A7C47DF.3000307@harddata.com \
    --to=maurice@harddata.com \
    --cc=harold@uga.edu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.