Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Folder Properties Size Not Reporting Correctly

Featured Replies

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.

 

image.thumb.png.ac5afd144811da46443d722cc80f6dbe.png

 

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

 

  • 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.

  • 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.

  • 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

 

image.thumb.png.db0f739fef3b3cb6852962a31afc0857.png

 

... 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

 

  • 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.

  • Community Expert

You might try another utility such as WinDirStat or WizTree to see what you get.

  • Author

I have other linux samba shares besides unraid  (clearos, synology, freenas) and they all report correctly in multiple windows environments. 

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.