| 1 |
Changes in version 1.30: |
| 2 |
|
| 3 |
The changes in this version improve by orders of magnitude the automatic |
| 4 |
recovery of a drive with a dead head. For example, all the recoverable data |
| 5 |
in a 1 TB drive with one ot its 4 heads dead can now be recovered after just |
| 6 |
283 read errors instead of the 3_782_794 read errors needed by ddrescue |
| 7 |
1.29. (ddrescue 1.29 with the options '--cpass=1,2 --skip-size=32MiB' can |
| 8 |
recover the data after 880 read errors, but the point is that an |
| 9 |
unexperienced user can now achieve results that only an expert could achieve |
| 10 |
with the previous version of ddrescue). |
| 11 |
|
| 12 |
The pass 5 of the copying phase has been replaced by a new sweeping phase |
| 13 |
run after the trimming phase. |
| 14 |
|
| 15 |
The new option '-N, --no-sweep', which disables the reading of skipped |
| 16 |
areas, has been added. The short name '-N' has been reassigned from option |
| 17 |
'--no-trim' to option '--no-sweep'. Option '--no-trim' is no longer |
| 18 |
recommended because trimming has now a higher probability of finding good |
| 19 |
data. |
| 20 |
|
| 21 |
Pass 2 now copies only the blocks adjacent to at least one finished block. |
| 22 |
The trimming pass now trims only the edges adjacent to a finished block. The |
| 23 |
goal is to delimit the bad area as a whole. |
| 24 |
|
| 25 |
The initial skip size now defaults to 'infile_size / 32_768' instead of |
| 26 |
'infile_size / 100_000'. |
| 27 |
|
| 28 |
'--retrim' now only marks blocks adjacent to a non-tried or finished block. |
| 29 |
|
| 30 |
'--extend-outfile=0' now extends outfile to the size of infile. |
| 31 |
|
| 32 |
In rescue mode, '--size=output' now uses the size of the output file or |
| 33 |
device, for example to overwrite it: |
| 34 |
'ddrescue --force --size=output /dev/urandom /dev/mydisk'. |
| 35 |
(Suggested by Stefan Monnier). |
| 36 |
|
| 37 |
The remaining time is now estimated by using the average rate of the last 60 |
| 38 |
seconds instead of the last 30 seconds. (Suggested by Stefan Monnier). |
| 39 |
|
| 40 |
A line showing 'average rate' and 'read errors' has been added to the file |
| 41 |
generated by the event logger. |
| 42 |
|
| 43 |
Large numbers in option arguments are now accepted with underscore |
| 44 |
separators (-s 123_456_789). |
| 45 |
|
| 46 |
The option '-H, --make-test', which creates a mapfile for the test mode of |
| 47 |
ddrescue based on the disc geometry given, has been added to ddrescuelog. |
| 48 |
This option has helped in the development of some of the improvements in |
| 49 |
this version of ddrescue, and is a work in progress. The geometries |
| 50 |
implemented so far are some of those described in the following article: |
| 51 |
H. Wong, "Discovering Hard Disk Physical Geometry through Microbenchmarking", |
| 52 |
Sept., 2019. Available online at |
| 53 |
<http://blog.stuffedcow.net/2019/09/hard-disk-geometry-microbenchmarking/> |
| 54 |
|
| 55 |
An example of recovery of a tar.lz backup using a lziprecover-generated FEC |
| 56 |
recovery record appended to the backup itself has been added to the manual. |
| 57 |
(Lziprecover's FEC algorithm can repair any kind of file, but its ability to |
| 58 |
repair lzip files is greater than for other kinds of files. Lziprecover can |
| 59 |
use the statistical properties of lzip data to repair a lzip file rescued |
| 60 |
with ddrescue, even if the fec file is so damaged that it has lost both CRC |
| 61 |
arrays). |
| 62 |
|
| 63 |
(It would be good that lzip were more widely used inside GNU, given its |
| 64 |
advantages over gzip for the compression of source tarballs and backups). |