If your system dataset was set to your data pool there's a good chance you will find them in this path /var/db/system/configs-c0708eef149b49a396f66530a6f1b80a
Your data will not be lost, ZFS and FreeNAS are a great combination in that sense as the OS is entirely separated from the data and a new install of the OS can get to the data almost regardless of the hardware the disks are attached to.
Well, with a little bit of time now to read and seek for the next steps... :)
When I first had a crash on my Patriot NAS (RAID 5) I got a long road to recover the data and end up finding out about FreeNAS (and others) and after several "consultations" in forums I decided to build my own. Today I am really happy to have made that decision as I managed to get it back and see this
zpool status
pool: Moria
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details.
scan: scrub repaired 0 in 0 days 16:58:33 with 0 errors on Sat Nov 30 16:58:41 2019
(this is onde day prior the motherboard failure)
config:
NAME STATE READ WRITE CKSUM
Moria ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/7d493c6d-fa4b-11e7-9842-d05099785ff9 ONLINE 0 0 0
gptid/93e3d8fd-55b8-11e9-8c9e-d05099785ff9 ONLINE 0 0 0
gptid/b525ddd8-53d5-11e9-8c9e-d05099785ff9 ONLINE 0 0 0
gptid/cdcb9c79-031f-11e9-85e8-d05099785ff9 ONLINE 0 0 0
gptid/4a066759-b619-11e8-aeba-d05099785ff9 ONLINE 0 0 0
gptid/a370c630-2e65-11e9-8b0a-d05099785ff9 ONLINE 0 0 0
gptid/736c4ecc-527a-11e9-b4e4-d05099785ff9 ONLINE 0 0 0
gptid/880d2c73-0cb2-11e9-82fc-d05099785ff9 ONLINE 0 0 0
errors: No known data errors
pool: freenas-boot
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
errors: No known data errors
Now, I will start seeking a way to bring this back to life (must say that message scared me a little so I want to learn more prior executing any command like the suggested upgrade).
When I go to the Storage -> Pools and try to add/import the pool it does not appear from the dropdown menu. Time to go to the manual :)
Edit 1 - From the GUI the pool was not being recognized. Looking on the
forums I found the information that using import/export in fact does not cause any harm to the data so I did an EXPORT on the pool (% sudo zpool export Moria), rebooted and, from the GUI I could import the pool. YAY!
Looking into the /var/db/system/ patch I have the following:
% ls
configs-26bec1b654b54f3489f57aa43ee342f9 rrd-5aa37175611b480aa1ee1aee411ae28f
configs-5aa37175611b480aa1ee1aee411ae28f samba4
consul syslog-26bec1b654b54f3489f57aa43ee342f9
cores syslog-5aa37175611b480aa1ee1aee411ae28f
nfs-stablerestart update
nfs-stablerestart.bak webui
rrd-26bec1b654b54f3489f57aa43ee342f9
Folder configs-26bec... is empty
Folder configs-5aa37....
FreeNAS-11.3-RELEASE
So, my original pool was on FreeNAS-11.2-RELEASE and I am wondering if I need to do a downgrade?