Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

From FreeNAS 11.3 to TrueNAS Core 12 - Upgrade Stories

Joined
May 29, 2017
Messages
43
@anodos First off, thanks for all the support you've provided here! And on that note, if I may, or to anyone else who may know, a question about my own Samba setup.

I haven't upgraded to TrueNAS 12 yet, but I'm vetting my own Samba configuration to prepare for any problems I may encounter. I rely heavily on a couple of shares for work and for TimeMachine backups, and back on FreeNAS 11.0 I had to define the following auxiliary parameters at the service level to make it acceptably performant for Mac clients (no Windows nor Linux clients here at home):

Code:
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no
vfs objects = zfs_space zfsacl recycle streams_xattr fruit
fruit:metadata = stream
fruit:resource = stream


And then, at the share level, enable the streams_xattr,zfs_space,zfsacl VFS objects.

Would you be able to tell me if any of these are still needed and/or recommended for Samba on TrueNAS 12? Or, on the contrary, if they'll cause problems?

Thanks in advance!
 

Hx Jai

Junior Member
Joined
Dec 4, 2016
Messages
16
To add to the above, I'm also using the following which I assume are still valid...

Code:
min protocol = SMB3
smb encrypt = required
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
6,742
@anodos First off, thanks for all the support you've provided here! And on that note, if I may, or to anyone else who may know, a question about my own Samba setup.

I haven't upgraded to TrueNAS 12 yet, but I'm vetting my own Samba configuration to prepare for any problems I may encounter. I rely heavily on a couple of shares for work and for TimeMachine backups, and back on FreeNAS 11.0 I had to define the following auxiliary parameters at the service level to make it acceptably performant for Mac clients (no Windows nor Linux clients here at home):

Code:
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no
vfs objects = zfs_space zfsacl recycle streams_xattr fruit
fruit:metadata = stream
fruit:resource = stream


And then, at the share level, enable the streams_xattr,zfs_space,zfsacl VFS objects.

Would you be able to tell me if any of these are still needed and/or recommended for Samba on TrueNAS 12? Or, on the contrary, if they'll cause problems?

Thanks in advance!
When you upgrade to 12, you can remove all of those aux parameters and just make sure that you have the "recycle" checkbox checked in the share config and the "enable Apple SMB2 extensions" checkbox in Services->SMB checked.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
6,742
To add to the above, I'm also using the following which I assume are still valid...

Code:
min protocol = SMB3
smb encrypt = required
Setting min protocol = SMB3 will prevent Windows 8 and MacOS clients from being able to connect to your server. SMB3 == SMB 3.11.
Otherwise these are not prevented. You break it, you get to keep the pieces :)
 
Joined
May 29, 2017
Messages
43
When you upgrade to 12, you can remove all of those aux parameters and just make sure that you have the "recycle" checkbox checked in the share config and the "enable Apple SMB2 extensions" checkbox in Services->SMB checked.
Hi @anodos! Thank you so much for that recommendation, I'll keep it in mind when I get around to the upgrade.

Regards,
 

macmuchmore

Neophyte
Joined
Feb 4, 2020
Messages
10
I just upgraded from 11.3-U5 to 12.0-Release. When I did so, I had to change my SMB configuration to enable Apple SMB2/3 Protocol Extensions to get my SMB shares visible again in MacOS.

Unfortunately, my Plex and UnifiController Jails went down, and I cannot get them running. When I expand their entries in the Jails list, the option to go to a shell is no longer there. Instead I went to the main shell and (following the 12.0-Release guide) ran the following for each Jail: iocage upgrade UnifiController -r 12.0-RELEASE where UnifiController is the name of the jail (I did it for both Plex and the UnifiController Jails). Needless to say this did not help. Any suggestions on how I can fix them? Thanks!
 

seb101

Member
Joined
Jun 29, 2019
Messages
114
I am in a really bad way. None of my VMs are stable any longer. Creating new VMs is not working, the guest OSs are crashing during install, then crashing libvirt when I try to on/off/reset them.

I need to go back to 11.3 but I can't because I upgraded the ZFS volume feature flags. Really hoping this gets fixed soon. :-(
 

szdravkov

Neophyte
Joined
Oct 9, 2020
Messages
4
I am in a really bad way. None of my VMs are stable any longer. Creating new VMs is not working, the guest OSs are crashing during install, then crashing libvirt when I try to on/off/reset them.

I need to go back to 11.3 but I can't because I upgraded the ZFS volume feature flags. Really hoping this gets fixed soon. :-(
Hi @seb101, what kind of guest operating system you are using ? I'm asking as I have the same issues but only with Suse Linux Enterprise Linux, all other flavors ( Win, Linux (CentOS, RHEL, Ubuntu)) are working with some minor issues - mostly grub problems after first start.
 

stillka

Member
Joined
Nov 15, 2014
Messages
33
Hello,
I have migrated to TrueNAS 12 but all my jails are down, I will update them but I want have possibility to rollback.
If I create for each jail manual snapshot, then its possible to rollback?
 

seb101

Member
Joined
Jun 29, 2019
Messages
114
Hi @seb101, what kind of guest operating system you are using ? I'm asking as I have the same issues but only with Suse Linux Enterprise Linux, all other flavors ( Win, Linux (CentOS, RHEL, Ubuntu)) are working with some minor issues - mostly grub problems after first start.
Problems all with Debian VMs unable to keep the existing systems up and stable, also unable to install new Debian 10 without crashes.

Now trying Ubuntu and seemingly it is OK, so far. I'm porting my security camera server over to Ubuntu now and will test for stability.
 

msbxa

Member
Joined
Sep 21, 2014
Messages
130
I upgraded ZFS volume feature flags for my current FreeNAS 11.3-U5 while back and decided to upgrade TrueNAS 12 RC. Now my question can I revert back to FreeNAS 11.3 U5 because of problems with TrueNAS 12 RC?
 

Patrick M. Hausen

Dedicated Sage
Joined
Nov 25, 2013
Messages
1,908
I upgraded ZFS volume feature flags for my current FreeNAS 11.3-U5 while back and decided to upgrade TrueNAS 12 RC. Now my question can I revert back to FreeNAS 11.3 U5 because of problems with TrueNAS 12 RC?
If you did not upgrade your pool(s) for TN 12, then yes.
 

c77dk

Member
Joined
Nov 27, 2019
Messages
106
Does it mean you have to upgrade ZFS pool every time new TrueNAS upgrade?
Only if you want the new feature flags for ZFS - if you don't need them, then no need to upgrade.
 

stillka

Member
Joined
Nov 15, 2014
Messages
33
Hello,
I have migrated to TrueNAS 12 but all my plugins are down, I will update them but I want have possibility to rollback.
If I create for each jail manual snapshot, then its possible to rollback?

p.s: Jails was down because of devfs_ruleset option, I set it to 4 for each jail and it works now...
 
Last edited:

TallCoolOne

Neophyte
Joined
Oct 31, 2017
Messages
4
Hello all,
I upgraded from the latest 11.3-U5 to 12 and everything seems to be fine with the exception of slow read speeds from my shares. Write speeds are fine. I have tried both afp and smb shares and both are slow, so it doesn't appear to be an smb specific issue. This issue only occurs with shares via my 10GbE interface, my 1Gbps is going at full speed even on the same share. I am getting about 25MB/s read speed (close to 700MB/s write).

I tried iPerf and although it is slower than before (averaged ~9Gbps before), it doesn't seem to show the problem I am seeing:

Code:
root@freenas:~ # iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.2, port 65074
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.2 port 65075
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   796 MBytes  6.67 Gbits/sec
[  5]   1.00-2.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   2.00-3.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   3.00-4.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   4.00-5.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   5.00-6.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   6.00-7.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   7.00-8.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   8.00-9.00   sec   796 MBytes  6.68 Gbits/sec
[  5]   9.00-10.00  sec   796 MBytes  6.68 Gbits/sec
[  5]  10.00-10.00  sec   692 KBytes  6.54 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  7.77 GBytes  6.68 Gbits/sec                  receiver
-----------------------------------------------------------


root@freenas:~ # iperf3 -c 192.168.1.2
Connecting to host 192.168.1.2, port 5201
[  5] local 192.168.1.1 port 19534 connected to 192.168.1.2 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   815 MBytes  6.84 Gbits/sec    0   2.00 MBytes
[  5]   1.00-2.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   2.00-3.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   3.00-4.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   4.00-5.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   5.00-6.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   6.00-7.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   7.00-8.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   8.00-9.00   sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
[  5]   9.00-10.00  sec   813 MBytes  6.82 Gbits/sec    0   2.00 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  7.94 GBytes  6.82 Gbits/sec    0             sender
[  5]   0.00-10.00  sec  7.94 GBytes  6.82 Gbits/sec                  receiver



I also tried testing the disk speed using dd on the local machine (with compression disabled) and don't see any issue there either. Only via the shares and via the 10Gbps interface.

I had some tunables for network performance before, I tried with and without these, no difference in the results.

Code:
kern.ipc.maxsockbuf                16777216    sysctl    yes
net.inet.ip.intr_queue_maxlen    2048        sysctl    yes
net.inet.tcp.recvbuf_inc        524288        sysctl    yes
net.inet.tcp.recvbuf_max        16777216    sysctl    yes
net.inet.tcp.recvspace            4194304        sysctl    yes
net.inet.tcp.sendbuf_inc        32768        sysctl    yes
net.inet.tcp.sendbuf_max        16777216    sysctl    yes
net.inet.tcp.sendspace            2097152        sysctl    yes
net.route.netisr_maxqlen        2048        sysctl    yes


Any thoughts?
 

mgittelman

Senior Member
Joined
Dec 8, 2017
Messages
384

macmuchmore

Neophyte
Joined
Feb 4, 2020
Messages
10
I just upgraded from 11.3-U5 to 12.0-Release. When I did so, I had to change my SMB configuration to enable Apple SMB2/3 Protocol Extensions to get my SMB shares visible again in MacOS.

Unfortunately, my Plex and UnifiController Jails went down, and I cannot get them running. When I expand their entries in the Jails list, the option to go to a shell is no longer there. Instead I went to the main shell and (following the 12.0-Release guide) ran the following for each Jail: iocage upgrade UnifiController -r 12.0-RELEASE where UnifiController is the name of the jail (I did it for both Plex and the UnifiController Jails). Needless to say this did not help. Any suggestions on how I can fix them? Thanks!

Please - I need some help... I was stupid and updated the ZFS new feature flags and cannot roll back. :-(
 

msbxa

Member
Joined
Sep 21, 2014
Messages
130
Please - I need some help... I was stupid and updated the ZFS new feature flags and cannot roll back. :-(
I haven’t upgrade my FreeNAS 11.3 U5 (updated the ZFS new feature flags) to TrueNAS 12 RC yet because of this ZFS new feature flags that I am trying to understand and I asked many questions and it still didn’t click to me until I found this “TrueNAS uses OpenZFS and each new version of TrueNAS keeps up-to-date with the latest feature flags and OpenZFS bug fixes.” from TrueNAS documentation. Previously I thought you do it once and never think about it from the next version.
 
Top