Hello i have a failed driver in a raid so i had to replace it with a new hard disk. The problem is that although both hard disk are Seagate 1TB they differ slightly in size
# sfdisk -s
/dev/sda: 976762584
/dev/sdb: 976761527
and when i try to use sfdisk to copy the partition table i get:
# sfdisk -d /dev/sda | sfdisk /dev/sdb
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 121601 cylinders, 255 heads, 63 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/sdb: unrecognized partition table type
Old situation:
No partitions found
Warning: given size (15718400) exceeds max allowable size (15717743)
sfdisk: bad input
I searched google but didn't find a complete solution.
Any insight on how can i make it to work is appreciated