[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cloning a partition table
From: |
Serge Wroclawski |
Subject: |
Cloning a partition table |
Date: |
Fri, 20 Aug 2010 10:06:17 -0400 |
Hi all,
In my environment, we have large disks and for simplicity, use GPT on
all our machines.
Occasionally a disk fails and we must replace it. Using cfdisk and MBR
this would be a simple matter of doing a:
sfdisk -d DISK1 | sfdisk DISK2
in order to copy the disk's partition table from one disk to the
other, and then we can use the RAID tools to put the disk back in
service.
sfdisk doesn't know GPT, but luckily parted does.
Unfortunately, this functionality of being able to copy the partition
table from one device to the other appears missing, as does the
workaround (as above) of being able to spit out and consume the same
format of output in order to achieve the same result.
Can someone please suggest either a way to accomplish the same result
or add this to the list of enhancements to the next version?
Thank you,
- Serge
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Cloning a partition table,
Serge Wroclawski <=