Lost pool after config reset

oops

Cadet
Joined
Mar 5, 2019
Messages
4
Hi all,

Solo pool of a mirrored pair has been running for a little over a month now with no issues on 11.2-U1

Reset config to defaults, as expected needed to remount pools. No other config changes were actually made past making a user and SMB share.

When I try to do so via GUI (Storage -> Pools -> Add -> Import an existing pool etc). Drive is not encrypted. When I get to select the pool it is not in the list.

Spec: E3-1220v6, 8GB ECC, BCM5720 NIC, two mirrored WD 4TB. Specifically this PowerEdge T130, with two WD MyBooks shucked.

zpool import (with and without -D) returns nothing.

gpart status returns
Code:
ada0p1 OK ada0
ada0p2 OK ada0
ada1p1 OK ada1
ada1p2 OK ada1
ada2p1 OK ada2
ada2p2 OK ada2


zpool status returns just the freenas-boot pool, freenas-boot and ada2p2 as online (0/0/0).

zdb -l /dev/ada0p1 etc returns "Failed to unpack" for all labels.

camcontrol devlist returns all drives.

Output of sqlite3 ..... "SELECT * FROM storage_disk;" (storage_diskgroup is empty)

Code:
{serial_lunid}50026B768236A5B0_50026b768236a5b0|ada2|ada|2|50026B768236A5B0|120034123776||||Auto|Always On|Disabled|Disabled|1||||
{serial_lunid}WD-WCC7K4SVUXFF_50014ee210707d5c|ada1|ada|1|WD-WCC7K4SVUXFF|4000787030016||||Auto|Always On|Disabled|Disabled|1||||
{serial_lunid}WD-WCC7K5SJA6ZU_50014ee265ac6fc7|ada0|ada|0|WD-WCC7K5SJA6ZU|4000787030016||||Auto|Always On|Disabled|Disabled|1||||
{serial_lunid}4C530001220815123100_SanDisk Cruzer Blade    4C530001220815123100|da0|da|0|4C530001220815123100|15664676864||||Auto|Always On|Disabled|Disabled|1||2019-03-12 12:33:36.252205||


output of zpool history

Code:
History for 'freenas-boot':
2019-01-25.09:35:16 zpool create -f -o cachefile=/tmp/zpool.cache -o version=28 -O mountpoint=none -O atime=off -O canmount=off freenas-boot ada2p2
2019-01-25.09:35:16 zpool set feature@async_destroy=enabled freenas-boot
2019-01-25.09:35:16 zpool set feature@empty_bpobj=enabled freenas-boot
2019-01-25.09:35:16 zpool set feature@lz4_compress=enabled freenas-boot
2019-01-25.09:35:16 zfs set compress=lz4 freenas-boot
2019-01-25.09:35:16 zfs create -o canmount=off freenas-boot/ROOT
2019-01-25.09:35:22 zfs create -o mountpoint=legacy freenas-boot/ROOT/default
2019-01-25.09:36:33 zpool set bootfs=freenas-boot/ROOT/default freenas-boot
2019-01-25.09:51:56 zfs set beadm:nickname=default freenas-boot/ROOT/default
2019-01-25.09:51:56 zfs snapshot -r freenas-boot/ROOT/default@2019-01-25-17:51:56
2019-01-25.09:52:01 zfs clone -o canmount=off -o mountpoint=legacy freenas-boot/ROOT/default@2019-01-25-17:51:56 freenas-boot/ROOT/Initial-Install
2019-01-25.08:56:25 zfs set beadm:nickname=Initial-Install freenas-boot/ROOT/Initial-Install
2019-02-02.03:45:02 zpool scrub freenas-boot
2019-02-10.03:45:02 zpool scrub freenas-boot
2019-02-18.03:45:02 zpool scrub freenas-boot
2019-02-26.03:45:02 zpool scrub freenas-boot
 
Last edited:

oops

Cadet
Joined
Mar 5, 2019
Messages
4
Bump - is there any more information I could provide, or did I do a really big oopsie? I have backups of course, but an understanding of how I could resolve this would be good (I would accept "Don't click the bleeding reset button again").
 
Last edited:
D

dlavigne

Guest
A config reset shouldn't touch the pool but it would be good to do an investigation on what happened if you haven't already restored the system. If it's still in the same state, please create a report at redmine.ixsystems.com that includes a debug. A dev may also want to schedule a teamviewer session with you and would contact you ASAP after the ticket is made.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
After resetting the config did you use the Wizard ?
 

Nemsys

Cadet
Joined
Jun 9, 2020
Messages
1
I had the same issue, I reset, lost the pool and shares. I was able to import the disks & shares using the wizard but it the pool did not show (but somehow the share did!). I solved it by re-uploading my backed up configuration, then the pool and share showed properly again. This also fixed my original problem of the Dashboard showing no icons. If you have your backed up config, try uploading it.
-Nemsys
 
Top