expanding encrypted Volume failed
I kept playing with my Test-Server.
The server had an encrypted RaidZ2 volume with 10 500GB HDDs. I tried to expand this volume with 10 250GB HDDs.
During the expanding process there was an timeout error.
Now it seems that the new HDDs have been added to the volume, but they have not been encrypted.
When I now try to decrypt the volume I get the following error:
Environment: Software Version: FreeNAS-11.0-U4 (54848d13b) Request Method: POST Request URL: http://192.168.178.44/storage/volume/1/unlock/?X-Progress-ID=3f36f852-dd7f-48f3-8e5d-6127bf474721 Traceback: File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 39. response = get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response 249. response = self._get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 178. response = middleware_method(request, callback, callback_args, callback_kwargs) File "./freenasUI/freeadmin/middleware.py" in process_view 162. return login_required(view_func)(request, *view_args, **view_kwargs) File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "./freenasUI/storage/views.py" in volume_unlock 1190. form.done(volume=volume) File "./freenasUI/storage/forms.py" in done 2619. raise MiddlewareError(msg) Exception Type: MiddlewareError at /storage/volume/1/unlock/ Exception Value: [MiddlewareError: b'Volume could not be imported: 10 devices failed to decrypt']
Any idea how I can fix this?
#4 Updated by William Grzybowski almost 3 years ago
- Status changed from Unscreened to 15
- Assignee changed from William Grzybowski to Joe Maloney
I am seeing some errors but I cant tell why?
@Chris was your volume password protected?
@Joe I could not readily reproduce the issue. Maybe I missed some step. Is this something your team could try, please?
#5 Updated by Chris D almost 3 years ago
I try to sum it up.
There was an encrypted volume with password.
I tried to expand this volume with the assistant. Thereby a timeout error occured. Sadly I didn't safe this traceback msg.
After a reboot I tried to mount/decrypt the expanded volume (with the password), but got the "Volume could not be imported" error from above.
#7 Updated by William Grzybowski almost 3 years ago
Chris D wrote:
Hi, ist there a way to restore the old config with just 10 drives per volume?
Otherwise I am inclined to setup everything from scratch. The stored data is not essential, but it would save time and work if I could get it back.
That depends if the zfs pool extended. You could be able to export the pool and importing it back using just the 10 drives.