October 2, 20187 yr When I copy a folder from my windows 10 machine to a shared SMB directory on unraid, the copy seems to go fine. In fact it does copy completely as I have manually gone in and compared all the files. HOWEVER when I go to the main folder, right click and select properties of the folder (a common practice to make sure the copy completed successfully and completely), the size of the folders on SMB verses on my PC are reporting to be drastically different. I am running unraid 6.6.1 and a windows 10 pro machine with all the latest updates. I found another post that talked about setting the allocation roundup size = 0 and also allocation roundup size = 4096, I tried those (stopped and started the array each time) but it didn't make a difference. I need help and appreciate your time. Sincerely, George Miller
October 2, 20187 yr Community Expert If you look closely at your screenshot, not only is the total size very different, but also the number of files and folders contained is very different. So I don't know where your problem is but it isn't clear that it is simply a difference in reported size.
October 3, 20187 yr Author I agree. however... HOWEVER...some of the sub folders within this folder are larger in size than the main parent folder size. It doesn't make sense.
October 3, 20187 yr Author ok, to prove the point.... I INITIALLY copied from my E: drive, as shown in the picture above TO the UNRAID, which reports less files and size than the original folder on the E: drive, so THEN ... JUST NOW I decided to copy the "Scotty Callan" FROM the NAS (depicted on the right side of the picture in the first post) TO my F: drive and then look at the properties of the new folder on the F: drive.. LOOK ... so it IS simply a difference in reported file size. Thanks for questioning that though, and for your input and effort to help.. it made me think and do the above test. So problem is still there and it IS a problem with the reported file size. Please help
October 3, 20187 yr Community Expert 49 minutes ago, GTM said: some of the sub folders within this folder Probably isn't reporting the sub folders. I don't know how Windows is requesting this from a network resource or whether the Windows request would work on Linux.
October 3, 20187 yr Community Expert You might try another utility such as WinDirStat or WizTree to see what you get.
October 3, 20187 yr Author I have other linux samba shares besides unraid (clearos, synology, freenas) and they all report correctly in multiple windows environments.
October 3, 20187 yr By any chance is the folder being copied to your Unraid share a versioned backup with some files/directories having hard/symbolic links to duplicated files/directories in the backup? The difference could then be whether following such a link or not is performed when calculating the sizes/number of files; which may be controlled by a Samba configuration option.
Archived
This topic is now archived and is closed to further replies.