Xfennec / progress

Linux tool to show progress for cp, mv, dd, ... (formerly known as cv)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not showing progress of cp and mv over network

danieldoof opened this issue · comments

Everything works fine when copying and moving files on local partitions. Progress is updated after specified times (for example with using watch progress -q).

When copying and moving files to a NAS over the network connection, the progress is not shown. More specifically, no process to be watched is recognised at all by progress and so nothing at all is displayed until the very end of the copy/move process where a 100% is shown. Not even the time of the watch progress -q call is updated during the run of cp and mv until the very end.
Thinking this could have to do with process priority, I changed the niceness of the running watch and progress calls in different constellations but to no effect.

This was tested on ArchLinux and Ubuntu 17.04 with file sizes of above 2-4GB so that the process should have been long enough.

Help in clarifying this issue is greatly appreciated.

I found a similar question in the closed issue #2 with the following reply:

Xfennec commented on 30 Nov 2013
The (write) buffer is outside cp/mv/whatever. You should have a look at kernel level, FS level or even > network file protocol level. Here, « cv » will behave like any other command (waiting the end of flush).

Has a solution presented itself in the meantime or does this issue demand tinkering at a much deeper level (which I will probably not be able to)?