xfs - Can't have a partition outside the disk
by virilo from LinuxQuestions.org on (#5RA92)
My hard drive crashed and a restoration company was able to copy everything to another new drive.
I think they used dd or similar.
It had two xfs partitions. But, now I can only mount the first one.
If I try to view the partitions with gparted it says:
Quote:
It seems that the new disk was a little smaller than the original (different models):
Quote:
But the numbers doesn't match!:
Quote:
How can I update the partition table and xfs file system to fit the current hard drive?
I think they used dd or similar.
It had two xfs partitions. But, now I can only mount the first one.
If I try to view the partitions with gparted it says:
Quote:
Can't have a partition outside the disk |
Quote:
fdisk -l -u=sectors Disk /dev/sdd: 9,1 TiB, 10000797794304 bytes, 19532808192 sectors Disk model: Elements 25A3 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Device Start End Sectors Size Type /dev/sdd1 2048 9766436863 9766434816 4,6T Linux filesystem /dev/sdd2 9766436864 19532871679 9766434816 4,6T Linux filesystem |
Quote:
19532808192-9766434816-9766434816-2048 = -63488 |