Project

General

Profile

Feature #38525

Samba: Default allocation roundup size is set to 1048576, should be 131072 (and user adjustable)

Added by Mark Holtz 12 months ago. Updated 11 months ago.

Status:
Closed
Priority:
No priority
Assignee:
Andrew Walker
Category:
Services
Target version:
Estimated time:
Severity:
Low
Reason for Closing:
Not to be fixed
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

This is a followup to defect https://redmine.ixsystems.com/issues/36508 . Currently, the default allocation roundup size as configured in FreeNAS in the SMB configuration file is the Samba default of 1048576, or 1MB. This is causing Windows shares to report that even a small file takes up 1MB of storage space, causing user confusion. By changing allocation roundup size to 131072, this reports a somewhat more accurate space taken on the FreeNAS server.

Two suggestions:
1. Change the default allocation roundup size to 131072
2. Modify the settings screen for SMB for a pull-down menu specifying the default allocation roundup size.

See also https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html

History

#1 Updated by Mark Holtz 12 months ago

  • File debug-vaultron-20180717032213.txz added
  • Private changed from No to Yes

#3 Updated by Mark Holtz 12 months ago

  • Subject changed from Samba: Default allocation roundup size is set to 1048576 . should be 131072 (and user adjustable) to Samba: Default allocation roundup size is set to 1048576, should be 131072 (and user adjustable)

#5 Updated by Dru Lavigne 12 months ago

  • Category changed from OS to Services
  • Assignee changed from Release Council to John Hixson

#6 Updated by John Hixson 12 months ago

  • Assignee changed from John Hixson to Andrew Walker

#7 Updated by Andrew Walker 12 months ago

This is a default performance optimization in samba for windows clients. You're welcome to modify it via auxiliary parameters or turn it entirely off.

There are currently about 400 existing configurable parameters for just the [global] portion of the smb.conf file. We ultimately have to make decisions about which ones become UI fields and which ones have to be auxiliary parameters. I'll discuss it further with other members of the services team, but I'm inclined to leave the default allocation roundup size.

#8 Updated by Andrew Walker 12 months ago

  • Severity changed from New to Low

#11 Updated by Andrew Walker 11 months ago

  • Status changed from Unscreened to Closed
  • Reason for Closing set to Not to be fixed
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#12 Updated by Dru Lavigne 11 months ago

  • File deleted (debug-vaultron-20180717032213.txz)

#13 Updated by Dru Lavigne 11 months ago

  • Target version changed from Backlog to N/A
  • Private changed from Yes to No

Mark: we will pass on this request for now as we are aiming to simplify the UI rather than add more options to it.

Also available in: Atom PDF