Thread (1 message) 1 message, 1 author, 2009-08-08

Re: Draft Mirrored Linux Mini How-to - sfdisk suggestion

From: Goswin von Brederlow <hidden>
Date: 2009-08-08 01:13:23

Maurice Hilarius [off-list ref] writes:
Harold Pritchett wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help