Ok, This will be a long explaination, but it might be useful for others.
I have an Intel 4790K (excellent chip!) with 32GB RAM running on a Gigabyte Ultra Durable GA-Z97X-UD7 TH motherboard. I also have 8x mix of WD blue/green, 4x WD Red, Intel 80GB SSD, and a PNY 120GB SSD.
Problem: System panic and reboot. Volumes could be manually mounted but copy caused panic and reboot.
Encrypted volumes not recoverable even under UNIX. Basically, because they were encrypted. I reinstalled FreeNAS. I was able to manually mount but panicked when ever I tried to copy the data off. I wiped the disks and lost the data. Most was backed up, so not a terrible loss. Very disappointed as everything I read said that ZFS was practically indestructible. I saw demo of pulling power from server, pulling power from drive. All were recovered with no issues.
I loaded UBUNTU and setup a RAID. Everything was working fine, then the system hung up.
What I did to fix the problem:
- Tested the CPU under load for hours.
- Test RAM for hours. Also tried with one set of RAM then the other.
- Bought SAS cards and Disabled SATA on the motherboard. Great addition, but did not solve the problem
- Bought external Network Adapter. Did not solve the problem.
- Bought a kick-ass 1000W Platinum power supply. Good for bragging rights. Did not solve the problem.
- I have 3 4-bay hot swappable drive bays in the case. I pulled them out and tested drives without them. Still had the problem.
- Wiped the disks and ran tests on all of them. NO ISSUES AT ALL!
- Bought a GeForce GT 710 Video card with 4 HDMI ports. Claimed to be good with Linux. I had seen some problems with built in graphics and decided to give it a try.
- During this process I reverted FreeNAS to earlier version, loaded on a new SSD, and tried everything I could find in the Internet concerning OS and software.
None of these addressed the problem. At this point I had turned every built-in capability of the motherboard off. I still had the problem. I had given up on FreeNAS and ZFS. I had switched to Ubuntu and software RAID. If I hadn’t started having problems I would have never worked with FreeNAS/TruNAS again.
At this point I was like, the only thing I have not changed or tested was the case!
With a shrug of my shoulders and a what the hell, I went into the BIOS and underclocked my CPU to 3GHz, which also underclocked my RAM.
EVERYTHING WOKRED! I have now loaded TureNAS 12 and applied 12U1. Everything is working. I am running Plex and an Ubuntu VM. Under the MV I’m running docker. Everything is back up and running without a problem. It is either the CPU, RAM, or Motherboard. But these parts are still expensive and I'm not going any deeper in this rabbit hole.
I’m disappointed that I’m not able to run the CPU at the published 4GHz specifications. But 3GHz is more than enough for this NAS. I am very happy to be running TrueNAS. I had given up on it. So, what should you do first. If possible underclock your system. Could save you a lot of money and time. If that doesn’t work, then you have a journey ahead of you. I have a case full of very cool stuff, but the project was to build a cheap kick-ass NAS for almost nothing. I even traded old computer parts for some of the drives. In the end, it cost me much more than I wanted. But to be very clear, still much cheaper then any 12bay NAS.
One last thought. Ask yourself if you really need encryption? Is this personnel and on your home network? I have decided that I do not need encryption. If you don't, there may be more options for data recover if you do run into problems.