[CentOS] rsync to full disk
ssilva at sgvwater.com
Wed Apr 15 21:20:47 UTC 2009
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
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 258 bytes
Desc: OpenPGP digital signature
More information about the CentOS