On 9/6/19 9:43 PM, ToddAndMargo via users wrote:
On 9/6/19 9:36 PM, Cameron Simpson wrote:
On 06Sep2019 20:16, ToddAndMargo ToddAndMargo@zoho.com wrote:
On 9/6/19 7:45 PM, Cameron Simpson wrote:
# dd status=progress bs=4096 if=/dev/sdb | gzip > DeadStick.FC30.2019-09-06 34489798656 bytes (34 GB, 32 GiB) copied, 404 s, 85.4 MB/s dd: error reading '/dev/sdb': Input/output error 8425692+0 records in 8425692+0 records out 34511634432 bytes (35 GB, 32 GiB) copied, 459.17 s, 75.2 MB/s
That was on my USB 3.1 port.
Not sure this is a problem. How big is /dev/sdb? What do you expect dd to do when it hits the end of the drive?
It is 64 GB.
Ah, badness then as you say.
Had you tried ddrescue, a dd-like command with an ability to step past bad areas and proceed with the rest?
Cheers, Cameron Simpson cs@cskk.id.au
Trying it right now. Had to drop the if= and of=.
Thank you for all the help!
More evidence of badness!
# ddrescue /dev/sdb DeadStick.FC30_2019-09-06.dd GNU ddrescue 1.23 Press Ctrl-C to interrupt ipos: 40491 MB, non-trimmed: 2725 MB, current rate: 0 B/s opos: 40491 MB, non-scraped: 0 B, average rate: 140 MB/s non-tried: 23666 MB, bad-sector: 0 B, error rate: 301 MB/s rescued: 37768 MB, bad areas: 0, run time: 4m 27s pct rescued: 58.86%, read errors: 41633, remaining time: n/a time since last successful read: 1s Copying non-tried blocks... Pass 5 (forwards) ddrescue: Input file disappeared: No such file or directory