[CentOS] rsync to full disk

Wed Apr 15 22:32:45 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

Scott Silva wrote:
> on 4-15-2009 1:49 PM Les Mikesell spake the following:
>> MHR wrote:
>>> On Wed, Apr 15, 2009 at 10:06 AM, Les Mikesell <lesmikesell-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>>>> I recently noticed that an "rsync -av" to a full disk keeps sending
>>>> files even after the target is out of space.  Has it always done that?
>>>> I suppose it is reasonable to keep trying in case it subsequently
>>>> crosses a mount point or space becomes available but I expected it to
>>>> quit on that sort of error.
>>>>
>>> IIRC, rsync does not stop because the files may be of different sizes,
>>> and some may fit where others won't as it goes along.  It doesn't sort
>>> by file size and copy that way, and that might not be the best method
>>> anyway....
>>>
>> It is just kind of annoying that an "rsync -av ..." with a large tree of 
>> files goes on and on still listing each filename with no indication that 
>> all of them are failing because there is no space at all on the target.
>>
> It should show you the fails when it completes.

Yes, but I would have preferred to fix it instead of waiting hours while 
it went through the motions of copying nowhere.

-- 
   Les Mikesell
    lesmikesell at gmail.com