TrueNAS 12.0-U3 is Available

Joined
Jan 4, 2014
Messages
1,644
...and a new bug for U3...
 

vikonen

Dabbler
Joined
Feb 2, 2015
Messages
16
Hi there,
I am considering upgraging from Freenas 11.3-U5 to Truenas 12.0-U3.

I will certainly report the results, but I have one question before the upgrade. Couldn’t find a clear answer to this from the forum, so please excuse me asking it here:
considering that I plan to eventually upgrade my pool to enable the latest features when in 12.0, is it recommended to update the zfs feature flags in 11.3 to the most current available there, prior to migrating to 12.0?

Or is it better to leave them as is (I have not touched them since initial install with v.10x and several upgrades), and then update the flags after some stable time at 12.0?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,175
Hi there,
I am considering upgraging from Freenas 11.3-U5 to Truenas 12.0-U3.

I will certainly report the results, but I have one question before the upgrade. Couldn’t find a clear answer to this from the forum, so please excuse me asking it here:
considering that I plan to eventually upgrade my pool to enable the latest features when in 12.0, is it recommended to update the zfs feature flags in 11.3 to the most current available there, prior to migrating to 12.0?

Or is it better to leave them as is (I have not touched them since initial install with v.10x and several upgrades), and then update the flags after some stable time at 12.0?
That's for everyone to analyze for themselves: https://www.truenas.com/community/resources/zfs-feature-flags-in-freenas.95/

initial install with v.10x
Wait. Do you mean Corral? I hope not.
 

vikonen

Dabbler
Joined
Feb 2, 2015
Messages
16

OK, thanks. I had actually read that article before asking, so I'm kind of back to square one :)

I take it that if one is going to upgrade the pool, it makes little difference whether one does that incrementally, or in a big bang manner (?).

Wait. Do you mean Corral? I hope not.

Sorry, typo.
Started with 9.10, upgraded to 11. IIRC. Or re-installed with 11.x at some point after a HW failure, can't remember exactly.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,175
I take it that if one is going to upgrade the pool, it makes little difference whether one does that incrementally, or in a big bang manner (?).
Personal preference and risk analysis. In other words, do you want a certain feature? If, so, upgrade as soon as you are comfortable with not going back. If not, why bother?
 

Constantin

Vampire Pig
Joined
May 19, 2017
Messages
1,828
To me, there were two major features that drove the upgrade to TrueNAS for me:
  1. special VDEVs / Fusion Pools - leverage multiple enterprise-grade SSDs to support the HDD pool by storing metadata and small files on the sVDEV. Important: figure out ahead of time what your respective storage needs are / likely will be, then buy the right hardware and mirror it n-ways to ensure your pool doesn't go kaplooie if one of those SSDs goes down. Ideally, at least a 3-way mirror.
  2. Native ZFS Crypto. Some unfortunate folk have had issues with GELI pools in the past and the recovery for a ZFS-native crypto seem to be more straight-forward. That said, I would not rely on pool encryption for anything but drug addicts raiding your home. Important data should feature additional safeguards.
The impact of 1. has been dramatic. Previously, I had a metadata only L2ARC that took at least 3 rsync passes to get "hot" after reboots. The new regimen makes backups even faster. I still have to run a few passes to confirm the results, but for browsing or anything related to directory operations, the impact was huge.

Nice to haves included:
  1. Persistent L2ARC that can be enabled with the right tunable. I now use it as a general-purpose L2ARC since the sVDEV is already dedicated to metadata and small files.
  2. Upgraded UI and even better support for SMB on Macs.
I made the switch from AFP to SMB, also stuffed little files from past system backups into Apple Disk images, which present themselves as ~8MB files to ZFS. In other words, I tried to limit small files as much as possible to leverage the sVDEV - as once the sVDEV fills up, the files spill over into the general pool, reducing the benefit of the sVDEV. Ideally, the GUI would do a better job of advertising the fill state of the sVDEV to regular users to warn them when the sVDEV is getting full and needs a upgrade.

The addition of sVDEVs and the switch from GELI to ZFS crypto pretty much suggested rebuilding the pool from the ground up. While it is possible to strip GELI one disk at a time, getting a SVDEV metadata cache to work also necessitates moving the pool contents around. At the end of the day, it was easier for me to nuke the old pool after multiple backups and rebuilding it from the ground up (switch to SMB basically requires rebuilding all shares anyway). Additionally, making changes / incremental upgrades to pools always seems riskier than building a brand new pool.

So, unless you have really compelling reasons like a sVDEV, ZFS-native crypto, etc., I'd consider the upgrade from 11 to 12 to be more optional than necessary.
 
Last edited:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,737
@Constantin Don't forget running a supported FreeBSD release. The most compelling reason for me, because I rely on jails a lot.
 

Constantin

Vampire Pig
Joined
May 19, 2017
Messages
1,828
That's a really good point and use case matters, for sure. I have zero jails at the moment but that may change if I ever figure out how to leverage my small step certificate authority and ACME.sh to install SSL certificates in the TrueNAS. Getting SSLs installed across multiple vendors is a major pain in the rear.
 

turment

Dabbler
Joined
Feb 3, 2020
Messages
43
Problems here too :(

I updated from u2 to u3 and my Samba sharing are not working anymore.

How can I fix it?
 

Philip Robar

Contributor
Joined
Jun 10, 2014
Messages
116
I updated from u2 to u3 and my Samba sharing are not working anymore.
How can I fix it?
Someone said in another thread said that doing an Edit/Save in the GUI without actually changing anything fixed the problem for them.
 

Constantin

Vampire Pig
Joined
May 19, 2017
Messages
1,828
I found it best to turn off SMB, make changes, then turn SMB back on again. That may very well have also had to do with my Mac rather than the NAS
 
Last edited:

turment

Dabbler
Joined
Feb 3, 2020
Messages
43
Thanks guys. I went rolled back to U2 and then back again to U3. Now it works.

This update is actually a bit unlucky.
 

TheRosss

Cadet
Joined
Dec 17, 2020
Messages
2
Same problem here with samba not liking this update.
smb doesn't accept any of the credentials I inserted.
I tried turning SMB service off, tried editing the settings and turning back on - nothing.
No matter what I try, it doesn't work.
Rolling back to 12.0 u2.1 it works again like it used to.

Regarding specs:
It's a self-built system with an asrock rack MB, an intel i3, 32gig ecc ram, and a 1gbit uplink to my network.
I don't think this is hardware related, as other services work too like they used to work. Additionally what i saw was that it was not possible to take a look at the SMART protocols.
Should I open a ticket for these things? If yes, where?
Thanks
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,691
Should I open a ticket for these things? If yes, where?
Thanks
Thanks for offering. Follow the "Report a Bug" link above.
It's very useful if you have a reproducable case where something doesn't work.
In your case, Update doesn't work, Rollback it does.
 

Constantin

Vampire Pig
Joined
May 19, 2017
Messages
1,828
Hey @TheRosss I’d recommend:

In the Web GUI, go to services->SMB and turn on logging to "full" before running your tests and then saving a debug.

That gives the iXsystems teams more data from the SMB log files to work with. You may have to adjust this setting twice (once for each version of TrueNAS). Each time after making those setting changes, attempt a number of logins from known-good accounts, then save and submit a debug file.

Good luck!
 

seldo

Dabbler
Joined
Jan 4, 2021
Messages
47
Is the samba issue in U3 related to the update from a previous version to U3, or does it also happen on a fresh install?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,456
...and a new bug for U3...
Not a bug, broken as designed--they introduced an undocumented breaking change in the API with -U3. And this is a stable, enterprise-grade product?
 

seldo

Dabbler
Joined
Jan 4, 2021
Messages
47
Not a bug, broken as designed--they introduced an undocumented breaking change in the API with -U3. And this is a stable, enterprise-grade product?
I didn’t get it like that!
I was still wondering if I should wait for U3 or install 11.3 U5
I’ll install the later now and move to 12.0 U3+ or even 12.1 U3+ in the future.
 
Joined
Jan 4, 2014
Messages
1,644
Not a bug, broken as designed--they introduced an undocumented breaking change in the API with -U3. And this is a stable, enterprise-grade product?
This is truly disappointing. So it's not a bug, but this unannounced and undocumented design change is having a far-reaching and negative ripple effect. For a start, it's broken the Let's Encrypt TrueNAS resource, which so many of us depend upon for encrypted server communication. The workaround at present isn't ideal requiring a server reboot to restore encrypted communication after a certificate is installed. This, in turn, disrupts every upstream service TrueNAS servers are offering. The euphemism danb used for this level of disruption is 'broken by design'. He's being too kind. This is not one of iXsystem's finest moments in the TrueNAS rollout.
 
Last edited:
Top