[SOLVED] Still having rsync errors to external drive
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Can anyone shed some light into these errors I keep getting for multiple files when I run rsync in verbose mode to a FAT32 external hard drive?
rsync: stat "/mnt/usbdrive/Batch 2/od venezuelan" failed: No such file or directory (2)
rsync: recv_generator: mkdir "/mnt/usbdrive/Batch 2/joseph gangster" failed: No space left on device (28)
I have 588GB available on my external hard drive, and i'm only trying to rsync 200GB to it, so its not out of space or anything like that.
I've tried rsync with -r -t --size-only --delete and -r -t --modify-window=1 --delete and both ways seem to give me the message.
I'm stumped!! or should i just reformat as NFTS and start over? i already had another 200GB data set copied on here, was trying to add a second. its all JPG pictures.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
run df -h
When I get this error usually the external drive is not mounted and I am trying to copy the files to my /mnt/sdc1 directory on my root file system.
Hi jlinkels. I know the df -h shows it, because that was how i saw how much free space was on it to report in my first post.
I dont know if this has any barring, but it seems like the rsync starts to work fine, but the longer it runs, the more those errors pop up, then it happens so much i cant even tell what's going on because it scrolls so fast.
I really don't understand why it would say no space where there is hundreds of GB's available, and the other message I forgot to check to see if that directory actually existed before i left today.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
On /dev/sdd you have one partition which happens to be extended as well. I don't know the first partition type f W95 Ext'd (LBA). Apparently this partition holds the next extended partition.
It is obvious that /dev/sdd1 doesn't mount, it is not a real partition.
Is this normal for VFAT partitions, have you done it before? Any reason to stay on VFAT? I am not at all familiar with such a partition scheme.
I am using my external 1 TB disk with 1 primary partition formatted XFS.
I had it as fat32 because I need to transfer it between linux mac and pc's without having to worry about permissions. Do you think ntfs would be better to handle all those files and transfer between all those os's.
my external drive is actually two drives RAID1'd through the software utility that came with it, so that did the partitioning so its a mirrored set of 1TB drives.
Could it be a "number of directory entries" issue? I notice that your failing mkdir appears to be based on a persons name. I believe max number of directory entries under fat32 is 65535, but as long-filename support can result in a single file/subdir taking up several entries, it can be much smaller than that.
If this is the case then perhaps splitting your batches further might work around this. Reports suggest anywhere in the region of 10-20K entries could be enough to trigger this issue.
it could be. i went with fat32 so i could transfer it between XP, Mac OSX, and Linux. how can i tell how many directories there currently are on the entire drive? I know some of the jpg's have long file names.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.