I've had a Freenas server in a VM for a few months. Played around with it a little here and there, done a few upgrades. Recently, I have upgraded to some of my old hardware and started experimenting on a more serious basis. I intend to build a new file server to serve my documents across my home network. I'm familiar with SMB2 and the significant performance improvement SMB2 gave to network shares when the server and client are upgraded to SMB2 compatible OSes(Vista and 7). All of my desktops use Windows 7, but I cannot determine if SMB2 is supported/enabled for Samba.
I found on the samba release notes from 2011 that SMB2 is supported but not enabled by default by Samba since it has not been thoroughly tested. It can be enabled by adding the "max protocol = SMB2" to the [global] section of smb.conf. I tried manually adding the entry but on reboot the entry is lost. Reading elsewhere in the forum this is expected since the file is regenerated on each bootup. So.. here's my questions...
1. Do I need to add this entry to smb.conf or is SMB2 already enabled some other way?
2. How do I add it to the global section? Using the GUI I can't add any entries to the global section.
The reason I'm asking about this is I'm currently getting 40-50MB/sec with occasional 80-100MB/sec. Doing tests copying to the server from a RAM drive on my desktop I should be able to get 80-90+ consistently. The server is plenty powerful.. Core i3 530 2.93Ghz with 16GB of RAM.
I'm kind of figuring this likely won't matter much. But this is how I learn about new stuff.. play around with it and tweak it and such. I'm just wondering about this because SMB2 was a big deal when it came out for file sharing across Windows Domains and I can't imagine why it wouldn't be enabled if it was an available option aside from it still waiting for more widespread testing.
Thanks!
I found on the samba release notes from 2011 that SMB2 is supported but not enabled by default by Samba since it has not been thoroughly tested. It can be enabled by adding the "max protocol = SMB2" to the [global] section of smb.conf. I tried manually adding the entry but on reboot the entry is lost. Reading elsewhere in the forum this is expected since the file is regenerated on each bootup. So.. here's my questions...
1. Do I need to add this entry to smb.conf or is SMB2 already enabled some other way?
2. How do I add it to the global section? Using the GUI I can't add any entries to the global section.
The reason I'm asking about this is I'm currently getting 40-50MB/sec with occasional 80-100MB/sec. Doing tests copying to the server from a RAM drive on my desktop I should be able to get 80-90+ consistently. The server is plenty powerful.. Core i3 530 2.93Ghz with 16GB of RAM.
I'm kind of figuring this likely won't matter much. But this is how I learn about new stuff.. play around with it and tweak it and such. I'm just wondering about this because SMB2 was a big deal when it came out for file sharing across Windows Domains and I can't imagine why it wouldn't be enabled if it was an available option aside from it still waiting for more widespread testing.
Thanks!