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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maurice Hilarius <maurice@xxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux