Do you have this problem with Ubuntu Edgy and USB sticks ?
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Do you have this problem with Ubuntu Edgy and USB sticks ?
If I copy a big file to my USB stick, one that will take a while, from the
command line, then go and do a "Safely Remove" right away (right click on desktop icon), then the stick is unmounted without waiting for the file copying to be
finished, resulting in invalid file size and truncated contents in the USB stick.
Anybody else experiencing this ? Can you try ?
Correct, {x,k}ubuntu is actually very smart and will pop-up a dialog telling you
to wait. I think they correctly monitor the USB bus. Now on Edgy it is broken for me.
It was working beautifully on Dapper.
Now let em say this, the attitude of the first 2 posters is why we still have trouble
getting ubuntu into the mainstream. "It's the users fault!" , heh, that is the same
attitude of Microsoft documentation.
Thanks for the third poster (fragos) to actually contribute.
Correct, {x,k}ubuntu is actually very smart and will pop-up a dialog telling you
to wait. I think they correctly monitor the USB bus. Now on Edgy it is broken for me.
It was working beautifully on Dapper.
Now let em say this, the attitude of the first 2 posters is why we still have trouble
getting ubuntu into the mainstream. "It's the users fault!" , heh, that is the same
attitude of Microsoft documentation.
Thanks for the third poster (fragos) to actually contribute.
It wasn't an attitude at all, to me its common sense. I'd say 90% of the problems with Ubuntu, are user related(the ones I have/had in the past included)....
It wasn't an attitude at all, to me its common sense. I'd say 90% of the problems with Ubuntu, are user related(the ones I have/had in the past included)....
IGF
OK, so how do you solve the problem? How do you tell when your copy to/from USB is complete?
OK, so how do you solve the problem? How do you tell when your copy to/from USB is complete?
Well, I've copied my back up file folders to an external USB drive, and there was always a progress timer. When it hits Zero, I presume it to be done. Roughly 4gigs of Music, about 20-25gigs of videos, broken down into folders of probably 5gigs each, and some other misc. files/folders that probably take up another 5-6gigs.
Its always worked that way for me, I have no idea what your problem is. As for when I unmount it, it unmounts almost immediately, but I do get the progress bar you mention for about 1sec.
IGF
Last edited by IndyGunFreak; 01-09-2007 at 03:26 AM.
Well, I've copied my back up file folders to an external USB drive, and there was always a progress timer. When it hits Zero, I presume it to be done. Roughly 4gigs of Music, about 20-25gigs of videos, broken down into folders of probably 5gigs each, and some other misc. files/folders that probably take up another 5-6gigs.
Its always worked that way for me, I have no idea what your problem is. As for when I unmount it, it unmounts almost immediately, but I do get the progress bar you mention for about 1sec.
IGF
Well, I tested this on Kubuntu Edgy and Edgy x86_64: started the copy of large files to
USB stick from the command prompt (I use large files so it will take a little while):
$ cp mylargfile /media/usbstick
Then I immediately go to the USB stick icon on desktop and do "Safely Remove". In Dapper,
this was a good way of telling when the copy was finished, because it will pop up the progress
bar and refuse to unmount until ready.
Now on Edgy I lost that dialog, furthermore the unmount occurs, truncating my files being
copied.
Well, I tested this on Kubuntu Edgy and Edgy x86_64: started the copy of large files to
USB stick from the command prompt (I use large files so it will take a little while):
$ cp mylargfile /media/usbstick
Then I immediately go to the USB stick icon on desktop and do "Safely Remove". In Dapper,
this was a good way of telling when the copy was finished, because it will pop up the progress
bar and refuse to unmount until ready.
Now on Edgy I lost that dialog, furthermore the unmount occurs, truncating my files being
copied.
I'm experiencing *exactly* the same problem as you. I have even tried to manually do a 'sync' before choosing the "Safely Remove" option, but still corrupts the last file transferred.
I'm running kubuntu in the machine where I experienced this; haven't detected this problem in my ubuntu install on another machine (both are edgy).
If you found out new information about this problem, or even got to a solution, please drop a line! Thanks.
Right click the device icon and select eject. It insures all IO is complete, you may see a progress bar, and then dismounts.
No, that's not working. There is no progress bar at all with kubuntu, right-clicking and selecting "Safely Remove" (if I'm correct, "Eject" appears only in ubuntu -no 'k') dismounts the device (at least theoretically) almost inmediately, but you can still notice by the led on the USB stick that there is pending traffic being completed; and if you type 'sync' on a terminal the command clearly stalls while there is still some writing done to the device.
In fact, this behaviour is the reason of existence of this thread, as kubuntu_user explained in the first post. It seems a kubuntu/edgy related issue that probably doesn't affect other flavours of the distro; but, as illogical as it may seem, it's definitely happening.
There are certainly differences between KDE and Gnome. To be more accurate I should have commented in Ubuntu the progress bar only appears when there are buffers to flush to the device. I normally only see it if I've copied a large directory to a flash device and almost never for single files. Some readers have both a mounted light and an activity light. Mine has single LED for both. In neither case are the the LEDs an absolute indicator that the buffer is flushed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.