On 9/6/19 7:45 PM, Cameron Simpson wrote:
On 06Sep2019 19:34, ToddAndMargo <ToddAndMargo@xxxxxxxx> wrote:
I am going to test the straight pipe today on my USB3 ports
and see if the overhead slows down the dd enough to stop
crashing dd. [...]
"crashing" ?
[...]
Ahh poop! (Not my "exact" word.)
# 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.
and I expect a return prompt with a summary and no errors.
It works on my USB2 port.
I am thinking the "85.4 MB/s" is the issue. Another Samsung
128 GB USB 3.1 stick I am currently testing is running at 32.3 MB/s
(Perhaps someone is fibbing about the transfer speed too?)
Hmm. You have two "32GiB ...copied" lines up there. From the same run?
Ah, no, that is your "status=progress" getting cut in half by the dd
error and the in/out report. So that's ok.
dd: error reading '/dev/sdb': Input/output error
Is not okay.
So, what's bad about the above?
dd: error reading '/dev/sdb': Input/output error
The 128 stick stopped successfully:
# dd status=progress bs=4096 if=/dev/sdb | gzip > 128GB.Stick.$(date
+%Y-%m-%d)
65474170880 bytes (65 GB, 61 GiB) copied, 2032 s, 32.2 MB/s^C
15986297+0 records in
15986296+0 records out
65479868416 bytes (65 GB, 61 GiB) copied, 2032.78 s, 32.2 MB/s
And you can see where the 64 gb (dead stick) crashed:
# ls -al
-rw-r--r--. 1 root root 51720912896 Sep 6 20:10 128GB.Stick.2019-09-06
-rw-r--r--. 1 tony root 2733066922 Sep 6 19:21 DeadStick.FC30.2019-09-06
Methinks I have a bad stick. Your take?
Thank you for the help!
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx