MattInMinneapolis
Cadet
- Joined
 - Aug 2, 2017
 
- Messages
 - 2
 
Hello, I'm not sure where to post this question. I have the latest FreeNAS version installed on a custom built machine and it appears to be running fine as I can access the console via the IP. However, when I try and setup my three storage drives, I get a "Middleware Error". So then, I go to the "Wipe" button and try and wipe 1 of the drives and I get the same error. The drives were in my old Windows 10 machine as a File Server in RAID 5 and they worked just fine for my music and such. Also, I recently completely wiped them on a different machine due to the aforementioned error when I tried use the "Wipe" button in FreeNAS. Any insight would be greatly appreciated. Please see my machine specs in my Signature. Here is one of the errors when I use the Wizard:
	
		
			
		
		
	
			
			Code:
Request Method:	POST
Request URL:	http://123.456.7.89/system/wizard/
Software Version:	FreeNAS-11.0-U2 (e417d8aa5)
Exception Type:	MiddlewareError
Exception Value:	
[MiddlewareError: b'Unable to GPT format the disk "ada0": gpart: geom \'ada0\': Operation not permitted\n']
Exception Location:	./freenasUI/middleware/notifier.py in __gpt_labeldisk, line 409
Server time:	Wed, 2 Aug 2017 06:31:15 -0500
Traceback
Environment:
Software Version: FreeNAS-11.0-U2 (e417d8aa5)
Request Method: POST
Request URL: http://123.456.7.89/system/wizard/
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 "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view
  68.			 return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in dispatch
  237.		 response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
  88.		 return handler(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in post
  300.				 return self.render_done(form, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in render_done
  357.								   **kwargs)
File "./freenasUI/system/forms.py" in done
  468.						 init_rand=False,
File "./freenasUI/middleware/notifier.py" in init
  238.			 f(objectid, *args, **kwargs)
File "./freenasUI/middleware/notifier.py" in _init_volume
  1057.		 self.__create_zfs_volume(volume, swapsize, kwargs.pop('groups', False), kwargs.pop('path', None), init_rand=kwargs.pop('init_rand', False))
File "./freenasUI/middleware/notifier.py" in __create_zfs_volume
  802.			 vdevs = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, encrypt, volume)
File "./freenasUI/middleware/notifier.py" in __prepare_zfs_vdev
  738.								  swapsize=swapsize)
File "./freenasUI/middleware/notifier.py" in __gpt_labeldisk
  409.				 raise MiddlewareError(f'Unable to GPT format the disk "{devname}": {error}')
Exception Type: MiddlewareError at /system/wizard/
Exception Value: [MiddlewareError: b'Unable to GPT format the disk "ada0": gpart: geom \'ada0\': Operation not permitted\n']
Request information
GET
No GET data
POST
Variable	Value
initial_wizard-current_step	'confirm'
__form_id	'dijit_form_Form_5'
FILES
No FILES data
COOKIES
Variable	Value
fntreeSaveStateCookie	'root%2Croot%2F38%2Croot%2F53%2Croot%2F53%2F54'
csrftoken	'eLqQZih8PKdMh5rvOpOuzDqHEfGM5E3r7AMK2Y1i0exhjM4KYRM1uAuR9hWsY8uW'
sessionid	'id8up5ry6swpux6cg9f86si7yabh37rr'
META
Variable	Value
			
				Last edited by a moderator: