Jump to content

[Solved] Unraid - Physical File Size and Share File Permissions


dar

Recommended Posts

Just getting started with unraid - so far so good. I've noticed a couple of things that I'm not easily finding clear answers on.

 

1) Physical file size. I moved about 1.3TB over to a share that spans 2 disks. If I compare sizes, the folder I moved (HFS+) is taking up about 100G less than the unraid  (reiserFS) physical size.  Is this normal? I also see all small files taking up 1MB. Is this normal also? Does this mean small <1K files will always use up 1M of space in ReiserFS?

 

2) File permissions. It seems the unraid shares have execute permissions set on some files. I don't think this is an issue but was wondering if I can change the permissions on the share folder or if there is a reason to leave it as it is?

 

If someone can explain or point me to a link that covers this it would be much appreciated.

Cheers.

 

[update]

Found out why sizes were confusing in OSX. This link provided the solution

http://hints.macworld.com/article.php?story=20110208234803495

 

To fix the 1M file reporting problem add the following line to the server's smb.conf (use config/smb-extra.conf for unraid):

 

        allocation roundup size = 0

 

Restart the Samba daemon, reconnect to the share, and files under one megabyte should now be calculated correctly in Finder.

It appears the unraid SMB server rounds up all reported file sizes by default to 1M and osx appears to be one of the few smb clients that actually use this reported size. This smb-extra.conf file will also allow me to change the share permissions as well. 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...