alheim
Dabbler
- Joined
 - Nov 19, 2014
 
- Messages
 - 22
 
FreeNAS-11.2-U5
Problem:
Creating a new pool, 4x drives in RaidZ2. Error received:
Solution:
Manually "wipe' each disk using the GUI (Disks, select Wipe from drop-down of each disk).
Reboot.
Appears to be the same issue as discussed here: https://www.ixsystems.com/community/threads/error-creating-pool-problem-with-gpart.70629/
Bonus Bug #2 !!:
When wiping drives using the GUI, the drop-down dots menu must be clicked twice in order to display the "wipe" option. The first time you open the drop-down, only 'Edit' is displayed. Click again and 'Wipe' appears as well.
	
		
			
		
		
	
			
			Problem:
Creating a new pool, 4x drives in RaidZ2. Error received:
Code:
Error creating pool
Command '('gpart', 'create', '-s', 'gpt', '/dev/ada3')' returned non-zero exit status 1.
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 1448, in dispatch_list
    request, **kwargs
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 450, in dispatch_list
    return self.dispatch('list', request, **kwargs)
  File "./freenasUI/api/utils.py", line 251, in dispatch
    request_type, request, *args, **kwargs
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 482, in dispatch
    response = method(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 1384, in post_list
    updated_bundle = self.obj_create(bundle, **self.remove_api_resource_names(kwargs))
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 2175, in obj_create
    return self.save(bundle)
  File "./freenasUI/api/utils.py", line 445, in save
    form.save()
  File "./freenasUI/storage/forms.py", line 316, in save
    raise e
  File "./freenasUI/storage/forms.py", line 310, in save
    c.call("alert.unblock_source", lock)
  File "./freenasUI/storage/forms.py", line 303, in save
    notifier().create_volume(volume, groups=grouped, init_rand=init_rand)
  File "./freenasUI/middleware/notifier.py", line 763, in create_volume
    vdevs = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, encrypt, volume)
  File "./freenasUI/middleware/notifier.py", line 698, in __prepare_zfs_vdev
    sync=False)
  File "./freenasUI/middleware/notifier.py", line 341, in __gpt_labeldisk
    c.call('disk.wipe', devname, 'QUICK', False, job=True)
  File "./freenasUI/middleware/notifier.py", line 341, in __gpt_labeldisk
    c.call('disk.wipe', devname, 'QUICK', False, job=True)
  File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py", line 477, in call
    raise ClientException(job['error'], trace=job['exception'])
middlewared.client.client.ClientException: Command '('gpart', 'create', '-s', 'gpt', '/dev/ada3')' returned non-zero exit status 1.Solution:
Manually "wipe' each disk using the GUI (Disks, select Wipe from drop-down of each disk).
Reboot.
Appears to be the same issue as discussed here: https://www.ixsystems.com/community/threads/error-creating-pool-problem-with-gpart.70629/
Bonus Bug #2 !!:
When wiping drives using the GUI, the drop-down dots menu must be clicked twice in order to display the "wipe" option. The first time you open the drop-down, only 'Edit' is displayed. Click again and 'Wipe' appears as well.