Code: Select all
[horo@recovery ~]$ sudo fdisk -l
[sudo] password for horo:
Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000AVDS-6
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdb2203ee
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 209717247 209715200 100G 83 Linux
/dev/sda2 209717248 230688767 20971520 10G 82 Linux swap / Solaris
/dev/sda3 230688768 587204607 356515840 170G 83 Linux
/dev/sda4 587204608 976773167 389568560 185.8G 83 Linux
Disk /dev/sdb: 149.1 GiB, 160000000000 bytes, 312500000 sectors
Disk model: ST3160815AS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[horo@recovery ~]$ sudo ddrescue -f -n /dev/sdb /dev/sda3 rescue.map
[sudo] password for horo:
GNU ddrescue 1.25
Press Ctrl-C to interrupt
ipos: 33710 MB, non-trimmed: 0 B, current rate: 6656 B/s
opos: 33710 MB, non-scraped: 3072 B, average rate: 55096 kB/s
non-tried: 0 B, bad-sector: 1024 B, error rate: 170 B/s
rescued: 159999 MB, bad areas: 2, run time: 48m 24s
pct rescued: 99.99%, read errors: 3, remaining time: 1s
time since last successful read: 0s
Finished
[horo@recovery ~]$ sudo ddrescue -d -f -r3 /dev/sdb /dev/sda3 rescue.map
[sudo] password for horo:
GNU ddrescue 1.25
Press Ctrl-C to interrupt
Initial status (read from mapfile)
rescued: 159999 MB, tried: 4096 B, bad-sector: 1024 B, bad areas: 2
Current status
ipos: 33710 MB, non-trimmed: 0 B, current rate: 0 B/s
opos: 33710 MB, non-scraped: 0 B, average rate: 256 B/s
non-tried: 0 B, bad-sector: 512 B, error rate: 170 B/s
rescued: 159999 MB, bad areas: 1, run time: 14s
pct rescued: 99.99%, read errors: 4, remaining time: n/a
time since last successful read: 6s
Finished
When running TestDisk, do I indicate the partition the clonded disk is on (/dev/sda3)? or the whole sda drive then look for missing partitions?