Public bug reported:

The OS is 16.10 Yakkety LiveCD.

I'm seeing silent file corruption when using the cp -ar switches for
file transfers to a Sandisk Ultra USB 3.0 32GB thumb drive across a USB
2.0 bus.

The first indication of a problem is when attempting to read the data at
some point in time after the initial copy.

The copy command completes successfully with no visible errors.

At first I thought this may have been related to an async write,
however; the issue persists after a flush of the write buffer prior to
ejection of the device, and there are no issues with DD.

As a test, a 2.5G file was generated with random data and then copied
with cp -ar to and from the device. The copy completes with no visible
errors within 3 seconds.

I've included the strace log of the transfer in action as an attachment.

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "strace"
   https://bugs.launchpad.net/bugs/1681138/+attachment/4858497/+files/log.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1681138

Title:
  silent file corruption with cp -ar file transfers to USB

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1681138/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to