This post is more than 5 years old
2 Intern
•
127 Posts
0
3665
September 5th, 2013 13:00
Data Migration using Rsync to Isilon
Using Rsync command to copy NFS data from NetApp to Isilon but it is not reporting file & folder count correctly. What is the Rsync switch I need to use to get the correct file/folder count ? I'm using "-avlHpEAXogh --stats" swtich and it reports file count wrong .
Total number of files inside the souce share is 319. Total number of folders inside the source share is 41.
The rsync script output below shows , Number of files as (319 files + 41 folders =360) which is weird and the number of file transferred shows the correct file count of 319 but no details about folders. If someone looks at the copy statisctics they would think that some files are not copied. Is there a way to get the correct file/folder count on the Rsync output? What is the switch used for that
This is the final output of Rsync.
Number of files: 360
Number of files transferred: 319
Total file size: 1.18G bytes
Total transferred file size: 1.18G bytes
Literal data: 1.18G bytes
Matched data: 0 bytes
File list size: 10.63K
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 1.18G
Total bytes received: 8.14K
sent 1.18G bytes received 8.14K bytes 44.60M bytes/sec
total size is 1.18G speedup is 1.00
thanks in advance
0 events found


Peter_Sero
6 Operator
•
1.2K Posts
0
September 5th, 2013 21:00
Yes, the stats are ill-worded, but you have deciphered them correctly.
Hey, rsync is open-source, you can fix it to your needs!
-- Peter