I had already saved the mapfile: $ env LANG=en free -m total used free shared buffers cached Mem: 1886 1677 209 164 93 1052 -/+ buffers/cache: 530 1356 Swap: 2047 0 2047
$ uname -a Linux asus 3.13.0-77-generic #121-Ubuntu SMP Wed Jan 20 10:50:59 UTC 2016 i686 i686 i686 GNU/Linux $ ddrescuelog -t /var/tmp/ddrescue-map.log current pos: 2355 TB, current status: copying domain size: 9223 PB, in 1 area(s) rescued: 97277 MB, in 8 area(s) ( 0.00%) non-tried: 9221 PB, in 1 area(s) ( 99.97%) errsize: 2355 TB, errors: 8 ( 0.02%) non-trimmed: 2355 TB, in 2193946 area(s) ( 0.02%) non-split: 0 B, in 0 area(s) ( 0%) bad-sector: 1123 MB, in 2193938 area(s) ( 0.00%) On 04/02/16 23:46, Antonio Diaz Diaz wrote: > Hello Narcis, > > Narcis Garcia wrote: >> --max-errors didn't work as expected with ddrescue 1.17 > > Apparently it did. Every time the number of errors grown by more than 1, > ddrescue exited with "Too many errors in input file". > > >> This is my command: >> $ ddrescue --force -n -e +1 /dev/sdb /dev/sdc /var/tmp/ddrescue-map.log >> >> This is the output when running repeatedly: >> (why errsize 35563TB on a 1TB disk ???) > > Most probably because the OS misrecognized the drive size. > > >> GNU ddrescue 1.17 >> Press Ctrl-C to interrupt >> Initial status (read from logfile) >> rescued: 97277 MB, errsize: 299 kB, errors: 8 >> Current status >> rescued: 97277 MB, errsize: 35563 TB, current rate: 0 B/s >> ipos: 35563 TB, errors: 8, average rate: 0 B/s >> opos: 35563 TB, time since last successful read: 1.1 m >> Copying non-tried blocks...terminate called after throwing an instance >> of 'std::bad_alloc' >> what(): std::bad_alloc >> Aborted > > This is very strange. Ddrescue just needs a few MB of RAM, and the > amount of RAM used by ddrescue depends on the number of blocks (lines in > the mapfile). But this mapfile seems to be quite short. > ('std::bad_alloc' usually means 'out of memory'). > > >> rescued: 97277 MB, errsize: 2355 TB, current rate: 0 B/s >> ipos: 2355 TB, errors: 8, average rate: 0 B/s >> opos: 2355 TB, time since last successful read: 5 s >> Copying non-tried blocks...^C >> Interrupted by user > > Could you, please, interrupt ddrescue before it aborts and tell us the > result of the following command? > > ddrescuelog -t /var/tmp/ddrescue-map.log > > > Best regards, > Antonio. _______________________________________________ Bug-ddrescue mailing list Bug-ddrescue@gnu.org https://lists.gnu.org/mailman/listinfo/bug-ddrescue