Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-67142

Wrong progress reported by rsync when using copy-devices

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.4
    • rsync
    • None
    • No
    • None
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Copying a remote device (ie: via ssh access to source machine) to a local file

      What is the impact of this issue to you?

      Wrong progress and estimated time reported

      Please provide the package NVR for which the bug is seen:

      rsync-3.2.3-19.el9.x86_64

      How reproducible is this bug?:

      It is always reproducible when copying a source disk via an ssh connection (even if the source machine is localhost itself, but accessed via ssh for testing).

      For example:
      rsync -v --progress -W --copy-devices root@localhost:/dev/nvme0n1 /dev/shm/test.img
      root@localhost's password: 
      nvme0n1
          572,424,192 -2147483648%  545.91MB/s   ::??

      Notice how the % and estimated time values are completely wrong.
      Not using ssh produces correct output.

      Steps to reproduce

      1. rsync -v --progress -W --copy-devices root@localhost:/dev/nvme0n1 /dev/shm/test.img

      Expected results

      Progress % and estimated time should be correctly shown

      Actual results

      Wrong values are shown.

              mruprich@redhat.com Michal Ruprich
              g.danti@assyoma.it Gionatan Danti
              Michal Ruprich Michal Ruprich
              Ondrej Mejzlik Ondrej Mejzlik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: