Data Loss after Copying to USB Stick

by

Sometimes, after I copied files to my USB stick with Kubuntu Linux, the data was corrupted. Furthermore, the copying process seemed far to quick for USB 1.0. In order to make sure that all your data gets copied, change to the directory where to USB stick is mounted, e.g. /mnt/stick/ and use the “sync” command. sync will flush the file system buffers. After sync has finished, you can unmount the stick and all the data should be on it.

Tags: , , ,

3 Responses to “Data Loss after Copying to USB Stick”

  1. Matthias D. Says:

    Did you really unmount the disk or simply unplug it?

    When I call umount (either via console or in KDE) the usb disk is operating (locks the console or displays a dialog with a progress bar) and automatically sync’s missing data to the disk.

    It seems like Kubuntu’s got a big internal cache for files on usb media, which accelerates felt write time (nice when often saving small files to usb disk) but has the disadvantage of taking a long time to sync the drives….

  2. chris Says:

    Thanks for the comment. As far as I remember, I unmounted it first. It happened several times, so I looked it up on the net and found this hint.

  3. Tomoko Says:

    actually though almost all drip coffee makers brew coffee
    as part of the identical form, only a few drip coffee brewers
    are really created equal! along with numerous a variety of models and also designs to select from
    it is significant so that you can perform some analysis .
    For much more than 41 years, we now have been devoted to
    bringing exceptional coffee and additionally espresso drinks in
    order to the consumers, says Howard Schultz, Starbucks chairman, chief executive and additionally CEO, as
    part of the press release.

Leave a comment