Is it feasible to roll back from 12.0U1 to 11.3?

TechOps

Cadet
Joined
Dec 21, 2020
Messages
4
Hi folks,

Long time listener, first time caller here. My team uses TrueNAS enterprise and FreeNAS at work, and I wanted to install it at home to get some more experience. I've been using FreeBSD on home servers continuously since late 1993, so I'm fairly comfortable with the underlying OS.

First off, I want to compliment the team on TrueNAS core, it's very slick with a ton of cool features. That said, I may have picked an inopportune time to install with the TrueNAS Core transition, as I'm having some performance and reliability issues that I can't seem to shake and I'm wondering whether I should have gone with 11.3 instead. Is there a way to re-install 11.3, or would ZFS versioning prevent me from using my external pool?

A bit more detail about my use case.. I installed on a 4-bay micro server, with OS on high quality USB, and 2 x 4TB Red Plus drives as my primary pool (mirror with GELI encryption). My primary use case is Time Machine backups on my home network, and secondary use case is a FreeBSD jail to run Cyrus imapd and some other services. The jail was easy to get up and running, though I haven't fully configured it yet.

So I purchased a new M1 MacBook Air last week, and wanted to restore from a Time Machine backup that was on a FreeBSD server. I imported a 2-disk FreeBSD mirror pool which had the backup, shared it through AFP, and restored to the laptop. That was slow, but successful. After that, I wanted to switch over to SMB, and that's where the pain began.

I shared the same pool via SMB, using the multi-user Time Machine profile (and later trying to tweak many of the share settings, which didn't help). After having issues, I started a new Time Machine backup from scratch. The Mac would get random lengths into the backup (10GB, 20 GB..) and then just stop the backup. Looking through the Mac console logs, there were no errors given as to why it stopped. Eventually, it did complete a backup, but logs show numerous aborted attempts and fitful progress.

Yesterday, my new MacBook had a couple of kernel panics. Uh-oh. Hardware and filesystem tests showed no issues. The second crash's backtrace shows it was in backupd, and related APFS routines. Not good. I can post that backtrace if anyone's interested.

Today, I just looked through the smbd logs on the TrueNAS server and see that smbd is equally unhappy..

Code:
[2021/01/14 15:08:19.464842,  0] ../../lib/util/fault.c:79(fault_report)
  ===============================================================
[2021/01/14 15:08:19.465097,  0] ../../lib/util/fault.c:80(fault_report)
  INTERNAL ERROR: Signal 10 in pid 21132 (4.12.9)
  If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
[2021/01/14 15:08:19.465149,  0] ../../lib/util/fault.c:86(fault_report)
  ===============================================================
[2021/01/14 15:08:19.465180,  0] ../../source3/lib/util.c:830(smb_panic_s3)
  PANIC (pid 21132): internal error
[2021/01/14 15:08:19.469184,  0] ../../lib/util/fault.c:265(log_stack_trace)
  BACKTRACE: 6 stack frames:
   #0 0x801296217 <log_stack_trace+0x37> at /usr/local/lib/samba4/libsamba-util.so.0
   #1 0x802f9b656 <smb_panic_s3+0x56> at /usr/local/lib/samba4/libsmbconf.so.0
   #2 0x801296007 <smb_panic+0x17> at /usr/local/lib/samba4/libsamba-util.so.0
   #3 0x8012963ee <log_stack_trace+0x20e> at /usr/local/lib/samba4/libsamba-util.so.0
   #4 0x801295fe9 <fault_setup+0x59> at /usr/local/lib/samba4/libsamba-util.so.0
   #5 0x8099dbc20 <_pthread_sigmask+0x530> at /lib/libthr.so.3
[2021/01/14 15:08:19.469427,  0] ../../source3/lib/dumpcore.c:315(dump_core)
  dumping core in /var/db/system/cores


Yesterday, I swapped out both of my pool's mirror drives, just to eliminate that as a potential issue. I've seen no indications of hardware issues on either the TrueNAS or the Mac. After spending numerous hours on getting to the bottom of this, helpful suggestions are welcome. Thanks!

And again, thanks to all the TrueNAS/FreeNAS crew for putting this together. It truly is a very cool appliance setup.

TJ
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
If you've upgraded your pools to the latest ZFS version, then it's no longer possible to roll back to 11.3. You'd have to destroy and rebuild your pools in 11.3.
 
Top