Larger disks will be GPT Disks, sfdisk will not work - you will need to use gdisk and partx (parted)
+
[root@ ~]# '''yum install gdisk'''
+
+
The copy the partition table from a good disk to the new disk, the first line will copy the partition table from disk sda to sdd, the second will randomize the GUID
+
[root@ ~]# '''sgdisk /dev/sda -R /dev/sdd'''
+
[root@ ~]# '''sgdisk -G /dev/sdd'''
+
+
To view the partitions us partx
+
[root@ ~]# '''partx -l /dev/sdd'''
+
If you want to reinstate the same disk without replacing it, go to the next step.
If you want to reinstate the same disk without replacing it, go to the next step.