Trying to rsync from disc to another

I am trying to rsync from one disc to another.

Disk one:
/dev/sdc2 3.6T 2.8T 675G 81% /DriveShare

Disc two:
/dev/mapper/VG–Raspi31-DriveShare 3.6T 1.6T 1.9T 47% /mnt/DriveShare

After syncing 1.6T from 2.8T there are no more files syncing.

Here the line from iotop:

17877 be/4 root 3.43 M/s 0.00 B/s 0.00 % 97.74 % rsync -rtuvP /DriveShare/StorjNode/storage/ /mnt/DriveShare/StorjNode/storage/

And here the last line from the rsync:

root@raspi-4:/DriveShare/StorjNode# rsync -rtuvP  /DriveShare/StorjNode/storage/ /mnt/DriveShare/StorjNode/storage/
sending incremental file list
./
bandwidth.db-shm
         32,768 100%    0.00kB/s    0:00:00 (xfr#1, ir-chk=1075/1078)
bandwidth.db-wal
      1,252,512 100%   30.63MB/s    0:00:00 (xfr#2, ir-chk=1074/1078)

iotop is reading continously between 3.2M/s and 3.6M/s but nothing write.

Any hints?

It looks like rsync has finished. Do you have other files under /Driveshare? What’s the output of
du -hd 1 /DriveShare/StorjNode/storage/

It’s checking what is missed. Since there a lot of small files, it could take a lot of time especially on Raspberry Pi3 (it uses a one bus for everything).
You just need to wait when it will finish checking and will send remained data to the destination.

2 Likes

No it i not finished. But in the meantime it works. See Alexey