Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving
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.
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving
I'm not sure what is going on. I copied my "music" folder (it houses my music collection....imagine that) to my USB Hard drive last week by using Nautilus and play ole "click and drag.". The process went without a hitch. Today, I decided I would copy the same folder over to the USB hard drive, so that I can have a more up-to-date backup on my USB drive. I was greeted with a message that said it would have to overwrite the folder. Since that is what I wanted to do, I click on "overwrite". Nautilus proceeds to update my folder (4500 or so files). Somewhere around 300th file the copy dialog closes without an error message. I go to check and see if the folder is fully updated. The music folder is there, but it isn't updated. After several more failed attempts, I simply deleted the music folder from the USB drive and dragged the source folder from my internal hard drive. It was time consuming, but.....It worked!
I guess my question is, how should I save an updated version of the music folder on my USB drive? Is there a USB syncing program that you would recommend?
**EDIT**
BTW, I checked the read/write permissions and every user had full read/write/execute access.
I've had similar problems with USB hard drives before - I think it was a kernel error. Open terminal after the copy dies, and run this:
Code:
dmesg | tail
A MUCH quicker method, which is what I use to reguarly backup my 30 - 40gb home folder to USB hard drive is 'rsync'. My backup's take less than a minute generally
'rsync' only transfers new and changed files. I just do it from the terminal:
The '-av' flag tells rsync to transfer the files (a) and list all the files as it goes (v). The '--delete-after' flag tells it to delete any files that are on the USB drive, but no longer on the hard drive.
I think u r USB have some fragments....;First check for that by
Quote:
dmesg | tail
it is better if u post the output of that then it is very easy to identify the problem...
Then mount the USB drive by doing
Quote:
mount /path/of/source /path/of/destination
If u have the fragnments then perform defragmentation by doing
Quote:
fsck /path/to/ur/mountpoint
then it shows no.of nodes in that thumbdrive and no.of available nodes.The helth of the disk is estimated by the no.of nodes.If the nodes are equal to the available nodes then there is no fragments.If not there is a chance of fragmentation.
Then it asks the permission to defragment the drive.u just press 'y'.mail me if u have any problems regarding this session.
Last edited by kodalisrikanth; 02-19-2007 at 12:58 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.