>What's the nature of the corruption

Its unclear, file attributes, names, size all appear the same from ls output.
I initially discovered it while setting up a local repo, dpkg didn't recognize 
the deb file output. 
Diff throws IO errors. 
Copying with cp appears to work (failing silently)
dd & rsync both throw an input output error when attempting to copy affected 
files.
lsof of the affected files directly after a copy throws an unable to stat (I'm 
not too versed with lsof so that may be a common problem unrelated).

>How do you mean "flush of the write buffer"?

I used hdparm -f on the device node after unmounting it, I then used
eject before physically removing it.

>3 Seconds sounds way too short -
My thoughts exactly, the copy was over a usb 2.0 root hub so I would expect no 
more than 30MB/sec.

The issue only appears for this specific USB Drive I've tested 5 other
usb thumbdrive models with no issue.

I've linked the exact model below.
https://www.amazon.com/SanDisk-Ultra-Transfer-Speeds-s-SDCZ48-032G-UAM46/dp/B00KYK2AKO

-- 
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