bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-ddrescue] Is it a bug or not?


From: Joe Kickman
Subject: [Bug-ddrescue] Is it a bug or not?
Date: Tue, 8 Nov 2016 10:07:02 +0300

Hello, Antonio and ddrescue community!

First, I have successfully compiled ddrescue to show the device names, used 
'./configure --enable-non-posix', then 'make', 'make install'
> Antonio Diaz wrote:
>> Have you passed '--enable-non-posix' to configure?

But, this part of the question is still actual:
> Is it possible to modify the 'configure' file to always compile with device 
> names shown?

Also, '-d' option on my system does not cause errors now!
Does it do the same, as 'hdparm --direct  /dev/sda' ?

Now - about a found bug (or this must be so?):
When being run with --cpass=0 (skip copying non-tried areas, just do trimming 
and scraping) - remaining time includes non-tried blocks.
Here is the output:

address@hidden:~/ddrescue-1.22-pre5# ddrescue /dev/sda /dev/sdb ~/sc08.log 
--ask -v -v -v -v -f -1 -d -R -X -i2820G -s2G --cpass=0
GNU ddrescue 1.22-pre5
About to copy 2000 MBytes
from '/dev/sda' [Hitachi HDS723030ALA640::**************] (3000592982016)
  to '/dev/sdb' [WDC WD30EFRX-68EUZN0::***************] (3000592982016)
Proceed (y/N)? y
    Starting positions: infile = 2820 GB,  outfile = 2820 GB
    Copy block size:   1 sectors       Initial skip size: 128 sectors
Sector size: 512 Bytes
Direct in: yes    Direct out: no     Sparse: no     Truncate: no     
Trim: yes         Scrape: yes        Max retry passes: 0
Reverse mode

Press Ctrl-C to interrupt
Initial status (read from mapfile)
current position:    2821 GB,     current sector: 5511351293
 last block size:   35160 MB
(sizes below are limited to the domain 2820 GB to 2822 GB)
rescued:    1939 MB, tried:   393216 B, errsize:       0 B, errors:      0

Current status
     ipos:    2821 GB, non-trimmed:     8192 B,  current rate:    5632 B/s
     opos:    2821 GB, non-scraped:        0 B,  average rate:    2212 B/s
non-tried:   60023 kB,     errsize:        0 B,      run time:      2m 54s
  rescued:    1939 MB,      errors:        0,  remaining time:      7h  3m
percent rescued:  96.99%      time since last successful read:          0s
Trimming failed blocks... (backwards) 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]