Article 57S9M Partition size

Partition size

by
platypo
from LinuxQuestions.org on (#57S9M)
I want to rescue a 1 TB partition from an external hd to an internal 1TB drive using ddrescue. The external hd /dev/sdc has a damaged ntfs partition /dev/sdc1 wich i want to rescue.

Gparted indicates 1953523312 sectors for /dev/sdc1 and it can't be checked/repaired nor mounted ("can't have a partition outside the disk").

lsblk -b shows:
Code:/dev/sda: 100020 4886016 bytes
/dev/sda1 (currently formatted as ext2): 100020 3091968 bytes
/dev/sdc: 100020 4885504 bytes
/dev/sdc1 (the damaged ntfs partition): 100020 3836928 bytesI successfully used ddrescue /dev/sdc to /dev/sda including the partition table, resulting in two equal volumes with the same errors, but showing that it would be technically possible.

Writing /dev/sdc1 to /dev/sda1 formatted as ntfs failed because /dev/sda1 was somewhat 750000 bytes short.

I have formatted the internal 1TB hd serveral times now. Besides not having the time for trial and error i am afraid of damaging either of the devices.

My question is: what partition type provides the most available space of a device so i can get more than 1000203836928 bytes out of it, and: could someone maybe rule out or confirm by the numbers above wether or not this whole plan technically could work?latest?d=yIl2AUoC8zA latest?i=eInGTwMPqgM:fLSCzt3UsD0:F7zBnMy latest?i=eInGTwMPqgM:fLSCzt3UsD0:V_sGLiP latest?d=qj6IDK7rITs latest?i=eInGTwMPqgM:fLSCzt3UsD0:gIN9vFweInGTwMPqgM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments