Junicast
Patron
- Joined
- Mar 6, 2015
- Messages
- 206
I had lying around a FreeNAS 12 flash drive which I tested a couple of weeks ago.
Today I migrated over my encrypted FreeNAS 11.2U6 over to it. Accidentally.
Well it worked though and now I have a mounted volume with all my storage.
On command line I ran and now I'm stuck with it of course.
So I cannot go back to FreeNAS 11.2U6 until I copy over my whole data to another pool, right?
I won't do that, at least not now. So I was thinking, OK, just go with stock FreeBSD 12 which would be ok for me.
Now I'm trying to backup encryption keys which doesn't work on GUI. Well it's in Alpha IIRC so can't expect help from there. When I hit pools in the GUI it just keeps spinning.
What baffles me though is that when I hit on cli it says encryption is off. Well if that's right it won't be a problem to migrate the volume over to FreeBSD 12 but honestly I don't know how this can be possible. Can I rely on what the OS is telling me?
gives me
So it's still encrypted, right?
This is what's shown in middleward.log:
Today I migrated over my encrypted FreeNAS 11.2U6 over to it. Accidentally.
Well it worked though and now I have a mounted volume with all my storage.
On command line I ran
Code:
zpool upgrade mypoolname
So I cannot go back to FreeNAS 11.2U6 until I copy over my whole data to another pool, right?
I won't do that, at least not now. So I was thinking, OK, just go with stock FreeBSD 12 which would be ok for me.
Now I'm trying to backup encryption keys which doesn't work on GUI. Well it's in Alpha IIRC so can't expect help from there. When I hit pools in the GUI it just keeps spinning.
What baffles me though is that when I hit
Code:
zfs get encryption mypoolname/someshare
Code:
zpool status
Code:
pool: fileserver
state: ONLINE
scan: resilvered 2.42T in 0 days 23:35:31 with 0 errors on Sun Sep 29 01:47:05 2019
config:
NAME STATE READ WRITE CKSUM
fileserver ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
3c38d05a-2ac4-11e7-97e2-001b21c1a8c0.eli ONLINE 0 0 0
1e54548e-9534-11e9-b085-001b21c1a8c0.eli ONLINE 0 0 0
6a727f00-94df-11e9-a437-001b21c1a8c0.eli ONLINE 0 0 0
eea5072d-e1cf-11e9-afae-001b21c1a8c0.eli ONLINE 0 0 0
4076a268-2ac4-11e7-97e2-001b21c1a8c0.eli ONLINE 0 0 0So it's still encrypted, right?
This is what's shown in middleward.log:
Code:
[2019/09/29 06:28:33] (ERROR) middlewared.call_hook():996 - Failed to run hook pool.post_import_pool:<function pool_post_import at 0x81875ce60>(*({'id': 1, 'name': 'fileserver', 'guid': '1342367459553237654
6', 'encrypt': 2, 'encryptkey': '279a8278-69cf-4724-a186-45fcc0652573', 'path': '/mnt/fileserver', 'status': 'OFFLINE', 'scan': None, 'topology': None, 'healthy': False, 'status_detail': None, 'is_decrypted
': True, 'encryptkey_path': '/data/geli/279a8278-69cf-4724-a186-45fcc0652573.key'},), **{})
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 991, in call_hook
await fut
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/sysdataset.py", line 396, in pool_post_import
await middleware.call('systemdataset.setup')
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1152, in call
app=app, pipes=pipes, job_on_progress_cb=job_on_progress_cb, io_thread=True,
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1094, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 954, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/sysdataset.py", line 204, in setup
raise CallError(job.error)
middlewared.service_exception.CallError: [EFAULT] [EINVAL] sysdataset_update.pool: Pool "fileserver" has an encryption passphrase set. The system dataset cannot be placed on this pool.
Last edited: