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
Touch seeded packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1681138

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

Status in coreutils package in Ubuntu:
  New

Bug description:
  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.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to