[CentOS] rsync to full disk

Les Mikesell lesmikesell at gmail.com
Wed Apr 15 21:49:27 UTC 2009


MHR wrote:
> On Wed, Apr 15, 2009 at 10:06 AM, Les Mikesell <lesmikesell at gmail.com> 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.

-- 
   Les Mikesell
    lesmikesell at gmail.com


More information about the CentOS mailing list