On Sun, Jan 29, 2012 at 10:39 AM, Markus Falb markus.falb@fasel.at wrote:
I want to ask for opinion if there is better way to do that other than:
- Put the new HDD.
- Use parted to recreate the same partition scheme.
Maybe sfdisk like sfdisk -d /dev/gooddisk | sfdisk /dev/newdisk
- Use mdadm to rebuild the RAID.
Thanks Markus, But I see this:
DESCRIPTION sfdisk has four (main) uses: list the size of a partition, list the partitions on a device, check the partitions on a device, and - very dangerous - repartition a device.
sfdisk doesn't understand GUID Partition Table (GPT) and it is not designed for large partitions. In particular case use more advanced GNU parted(8).
Is it ok?