I have a raw disk backup of a 4TB external drive /dev/sda split into 1GiB chunks, within is a single used partition /dev/sda1 and some other junk. The chunks are being stored on multiple physical drives as they are all smaller than 4TB. What's the easiest way to mount or at least extract files in a recovery scenario?
The external drive or filesystem is having issues (mounts but explorer locks up when filesystem explored), but /dev/sda can be dd'd so I've made a backup before attempting a fix with fsck or whatever.
fdisk ouput, which fails because there's more than2^32 512 byte sectors:
[nix@nixos:/run/media/nix/23e365ee-0922-46fc-a749-f732c2e0a77d]$ fdisk -l 4tb/p.0
Disk 4tb/p.0: 1024 MB, 1073741824 bytes, 2097152 sectors
130 cylinders, 256 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
4tb/p.0p1 0,0,2 1023,255,63 1 4294967295 4294967295 2047G ee EFI GPT
Partition 1 has different physical/logical end:
phys=(1023,255,63) logical=(266305,4,4)
[nix@nixos:/run/media/nix/23e365ee-0922-46fc-a749-f732c2e0a77d]$ sudo fdisk -l /dev/sda
fdisk: device has more than 2^32 sectors, can't use all of them
Disk /dev/sda: 2048 GB, 2199023255040 bytes, 4294967295 sectors
266305 cylinders, 256 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/sda1 0,0,2 1023,255,63 1 4294967295 4294967295 2047G ee EFI GPT