rsync from remote host "failed: No space left on device (28)"? even with --inplace

Adam Funk a24061 at ducksburg.com
Fri Nov 8 16:03:19 UTC 2024


On 2024-11-08, Robert Heller wrote:

> At Fri, 08 Nov 2024 14:40:35 +0000 Adam Funk <a24061 at ducksburg.com> wrote:
>
>> 
>> On 2024-11-08, Karl Auer wrote:
>> 
>> > On Fri, 2024-11-08 at 12:51 +0000, Adam Funk wrote:
>> >> None of the files are even close to that big, but there are a lot of
>> >> files (a few hundred thousand).
>> >
>> > IIRC there's a limit of 65535 files in a FAT32 directory. If any one
>> > directory or subdirectory has more than that many files, you'll get a
>> > failure.
>> >
>> > If you don't have more than 65535 files in any one directory, this is
>> > not the problem, provided the drive really is FAT32.
>> 
>> From the way you've phrased that, I think you mean 65535 files
>> *immediately* in any directory, not including its subdirectories.
>> 
>> There are currently 120393 files on the drive, but 21844 in the most
>> populous directory.
>> 
>> I know it's FAT32 because that's what I picked when I ran gparted on
>> it yesterday morning.
>
> You did also use /sbin/mkfs.vfat to actualy format the drive?  And then 
> mounted it?

AFAICT gparted formatted the drive. I deleted the old ext4 partitions
on it, added a FAT32, and clicked "apply"; then I mounted it and it
came up as "vfat" and worked. (I'm sure this is how I've always done
USB drives.)

Am I supposed to do something else? 




More information about the ubuntu-users mailing list