I've kind of a weird problem on one of our customer's backup harddrives: The harddrive is formatted in FAT32 and last night our backup jobs threw an error on a subdirectory, claiming that it couldn't copy the files that it had to copy.
I checked the disk size first of course, but there is plenty of space. The error given was 0x80070052, if I put that into a search engine I get results like this: http://www.quickonlinetips.com/archives/2007/09/how-to-fix-error-0x80070052-on-usb-flash-drives/
But there are just 8 files/directories in the root directory of that partition. So I went on and decided to test some stuff myself. Creating a single file (named 'test.txt' for example) did work. But creating a file with one of the filenames that the backupjob failed on, didn't work, instead I got the same error as above. I tested around a little bit and found out that I can create a file with 10 characters in that sub-directory, one character more and it fails.
After detecting that, I created a directory in that subdirectory (named 'test') and moved some files from the sub-directory into the new directory, after that finished, I tried to create a file with 11 characters (which didn't work before) and it worked.
Now, obviously from observation, there seems to be some kind of hardlimit on how many characters can be used for all filenames inside a single directory for FAT32, but I couldn't find anything about that hard limit or if other file systems (especially NTFS, which would be the alternative in this case, I guess) have similiar limits.
If someone could provide me with informations about the observed behaviour, that'd be great!
edit
a colleague told me to put the exact folder on another FAT32 drive, since he once had problems with the USB controller of a particular manufacturer. I tried two USB sticks from different manufacturers, both FAT32 formatted, both showed the exact same behaviour as described above.
To get you an idea of the amount of files involved: There are roughly 10200 files, each with a filename between 80 and 110 characters in length, excluding the filepath (that doesn't seem to be of any matter), so there are circa one million characters involved.