Guest User

Untitled

a guest
Feb 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. Number of files: 4857743
  2. Number of files transferred: 4203266
  3.  
  4. root@c-00000051:~# pwd
  5. /root
  6. root@c-00000051:~# rsync -ah --progress --stats /home/hholtmann /mnt/wd750/c51/home/ -v
  7.  
  8. Number of files: 4857743
  9. Number of files transferred: 4203266
  10. Total file size: 487.41G bytes
  11. Total transferred file size: 487.41G bytes
  12. Literal data: 487.41G bytes
  13. Matched data: 0 bytes
  14. File list size: 102.48M
  15. File list generation time: 0.001 seconds
  16. File list transfer time: 0.000 seconds
  17. Total bytes sent: 487.75G
  18. Total bytes received: 82.42M
  19.  
  20. root@c-00000051:~# du -cs /home/hholtmann/proj/
  21. 18992676 /home/hholtmann/proj/
  22. 18992676 total
  23. root@c-00000051:~# du -cs /media/wd750/c51/home/hholtmann/proj/
  24. 19006768 /mnt/wd750/c51/home/hholtmann/proj/
  25. 19006768 total
  26.  
  27. root@c-00000051:~# find /home/hholtmann/proj/ -type f -follow | wc -l
  28. 945937
  29. root@c-00000051:~# find /mnt/wd750/c51/home/hholtmann/proj/ -type f -follow | wc -l
  30. 945937
  31.  
  32. /dev/mapper/vg1-lv_home /home ext4 nobarrier,noatime,user_xattr 0 2
  33. # I HAD to add the ,user_xattr option to match my home volume
  34. /dev/sda1 /mnt/wd750 ext4 nobarrier,noatime,user_xattr 0 2
  35.  
  36. root@c-00000051:~# find /home/hholtmann/ -type f | wc -l
  37. 4203266
  38. root@c-00000051:~# find /mnt/wd750/c51/home/hholtmann/ -type f | wc -l
  39. 4203266
  40.  
  41. ( cd /home/hholtmann && find . -type f -exec md5sum {} ; ) > /tmp/hholtmann.md5sum
  42. ( cd /media/wd750/c51/home/ && md5sum -c /tmp/hholtmann.md5sum )
  43.  
  44. rsync -avH --delete /home/hholtmann/ /media/wd750/c51/home
Add Comment
Please, Sign In to add comment