I'm not sure where to start, but I have been using Freenas for 3 years without any issue until today. Currently, the issue is that I have a USB boot volume has been marked as DEGRADED for the last 3 months (finally found time to fix the issue.....) and I didn't create a mirror..... I know lesson learnt. Previously of having this issue I would :
From the logs files, it states that the decryption key is incorrect as well as my passphrase. If I remove the new USB then Boot off the DEGRADED USB and use the same decryption key and passphrase, then the pools unencrypt fine, which doesn't make sense. Not sure what I am doing wrong, please see my configuration below:
Build: FreeNAS-11.2-U5
CPU: Intel Xeon E3-1230 v6
Motherboard: SuperMicro X11SSH-F
Memory: 48GB (Micron 2133Mhz DDR4 ECC)
Storage: 8x4TB Seagate IronWolf
I did try to add a mirror to the boot environment that is DEGRADED and boot off the mirror USB but this didn't work (used a USB with the same GiB as the original DEGRADED USB) as I received the following error:
Not sure what else to try.....Failure to access encrypted pools with new USB would mean losing 6.34Tib of data which would not be the best day of my life. I have thought about backing up to cloud storage, but then that means back up Plex config, Sonar config etc which is work that I don't really want to do. Any help would be greatly appreciated.
- Back up config (System --> General) and pool encrypted keys
- Re-install Freenas on new USB
- Upload config
- Unencrypt Pools with geli keys or passphrase
Code:
Error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 219, in wrapper response = callback(request, *args, **kwargs) File "./freenasUI/api/resources.py", line 949, in unlock form.done(obj) File "./freenasUI/storage/forms.py", line 2847, in done raise MiddlewareError(msg) freenasUI.middleware.exceptions.MiddlewareError: [MiddlewareError: Volume could not be imported: 8 devices failed to decrypt]
From the logs files, it states that the decryption key is incorrect as well as my passphrase. If I remove the new USB then Boot off the DEGRADED USB and use the same decryption key and passphrase, then the pools unencrypt fine, which doesn't make sense. Not sure what I am doing wrong, please see my configuration below:
Build: FreeNAS-11.2-U5
CPU: Intel Xeon E3-1230 v6
Motherboard: SuperMicro X11SSH-F
Memory: 48GB (Micron 2133Mhz DDR4 ECC)
Storage: 8x4TB Seagate IronWolf
I did try to add a mirror to the boot environment that is DEGRADED and boot off the mirror USB but this didn't work (used a USB with the same GiB as the original DEGRADED USB) as I received the following error:
Code:
EFAULT] 'newfs_msdos -F 16 /dev/da1p1' failed: newfs_msdos: /dev/da1p1: Operation not permitted Error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 167, in call_method result = await self.middleware.call_method(self, message) File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1098, in call_method return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False) File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1046, in _call return await methodobj(*args) File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf return await f(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/boot.py", line 221, in replace boottype = await self.format(dev, format_opts) File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf return await f(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/boot.py", line 113, in format raise CallError('%r failed:\n%s%s' % (" ".join(command), p.stdout.decode("utf-8"), p.stderr.decode("utf-8"))) middlewared.service_exception.CallError: [EFAULT] 'newfs_msdos -F 16 /dev/da1p1' failed: newfs_msdos: /dev/da1p1: Operation not permitted
Not sure what else to try.....Failure to access encrypted pools with new USB would mean losing 6.34Tib of data which would not be the best day of my life. I have thought about backing up to cloud storage, but then that means back up Plex config, Sonar config etc which is work that I don't really want to do. Any help would be greatly appreciated.