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

Jeffrey Walton noloader at gmail.com
Fri Nov 8 15:36:46 UTC 2024


On Thu, Nov 7, 2024 at 10:31 AM Adam Funk <a24061 at ducksburg.com> wrote:
>
> I'm trying to copy a lot of data from a high-performance computing
> server to a USB hard drive.
>
> $ ssh remotehost
> # successful
> # then in another terminal:
> $ rsync -e ssh -a --info=progress2 --inplace \
>     remotehost:/path/to/the_stuff/  /media/adam/CWB_DATA/the_stuff/
>
> It keeps failing with "failed: No space left on device (28)" even
> though the USB drive has plenty of space:

Does the rsync fail immediately, or does it fail after performing some
of the copies?

> $ df -h .
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sdb1       466G   24G  442G   6% /media/adam/CWB_DATA
>
> $ df -ih .
> Filesystem     Inodes IUsed IFree IUse% Mounted on
> /dev/sdb1           0     0     0     - /media/adam/CWB_DATA
>
> I added the --inplace option after googling the error message, but
> it's still producing the same error. I assume the inode 0 count is
> because the drive is formatted in fat32.
>
> Is the drive format the problem?
>
> Any other suggestions?

I'm thinking out loud... Is the media server running Samba, and is
Samba blocking the copy for some reason?

Jeff



More information about the ubuntu-users mailing list