devnullius
Patron
- Joined
- Dec 9, 2015
- Messages
- 289
Code:
Request Method: POST Request URL: http://10.0.0.250/storage/volumemanager/ Software Version: FreeNAS-11.1-U1 (f7e246b8f) Exception Type: MiddlewareError Exception Value: [MiddlewareError: Unable to GPT format the disk "da6": gpart: geom 'da6': File exists ] Exception Location: ./freenasUI/middleware/notifier.py in __gpt_labeldisk, line 359 Server time: Sat, 3 Feb 2018 00:39:19 +0100
Traceback
Code:
Environment:
Software Version: FreeNAS-11.1-U1 (f7e246b8f)
Request Method: POST
Request URL: http://10.0.0.250/storage/volumemanager/
Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
42. 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 volumemanager
148. if form.is_valid() and form.save():
File "./freenasUI/storage/forms.py" in save
298. notifier().create_volume(volume, groups=grouped, init_rand=init_rand)
File "./freenasUI/middleware/notifier.py" in create_volume
752. vdevs = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, encrypt, volume)
File "./freenasUI/middleware/notifier.py" in __prepare_zfs_vdev
687. swapsize=swapsize)
File "./freenasUI/middleware/notifier.py" in __gpt_labeldisk
359. raise MiddlewareError(f'Unable to GPT format the disk "{devname}": {error}')
Exception Type: MiddlewareError at /storage/volumemanager/
Exception Value: [MiddlewareError: Unable to GPT format the disk "da6": gpart: geom 'da6': File exists
]
Code:
Request information GET No GET data POST Variable Value __all__ '' volume_name 'ZFS_8x_3TB_RAID2' volume_add '' encryption 'on' layout-__all__ '' layout-TOTAL_FORMS '2' layout-INITIAL_FORMS '0' layout-0-vdevtype 'raidz2' layout-0-disks 'da3' layout-1-vdevtype 'raidz2' layout-1-disks 'da7' __form_id 'dijit_form_Form_0' FILES No FILES data COOKIES Variable Value fntreeSaveStateCookie 'root%2Croot%2F60%2F61%2Croot%2F60%2F135%2Croot%2F60%2F61%2F234%2Croot%2F60%2F243%2Croot%2F60%2F61%2F122%2F123%2Croot%2F60%2Croot%2F60%2F61%2F126%2Croot%2F60%2F61%2F146%2Croot%2F60%2F231' csrftoken 'Q7X24Jy9evIr9YBolYCBOOZKLTWobpe65ovCz1MYaiayGxmLfkftnJxhCD5Fy8LC' sessionid '7uxatn9x6sgd4613pesw5qjhxgwam073' META Variable Value
History: I created a ZFS Pool (RaidZ2, 8 disks of 3TB each). I then started a zfs import. I Ctrl-C'd that import. I then (with the GUI) removed the ZFS Pool again and tried to re-create it with encryption enabled. That doesn't work and generates the errors I'm showing above (all in the GUI).
Any idea what could be going on? The encryption is not the problem. I'll try to find some answers myself too. Here we go again - sigh :/
Last edited: