Charles Barker
Cadet
- Joined
- Mar 4, 2017
- Messages
- 1
I'm setting up a new system on 11.2-RC1. I created a pool with my 4 drives, but then decided to rename it. First I detached and erased the existing 'tank0' pool. Then I tried to create 'tank1' with the same drives and same configuration (raid-z2) and got this traceback:
I tried it a few times but got the same error. I then gave up, rebooted, and was able to create the new pool.
(Not sure if this is the right place to report this kind of thing, but let me know if there's somewhere better.)
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 1410, 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 415, in save
form.save()
File "./freenasUI/storage/forms.py", line 311, in save
raise e
File "./freenasUI/storage/forms.py", line 300, in save
notifier().create_volume(volume, groups=grouped, init_rand=init_rand)
File "./freenasUI/middleware/notifier.py", line 758, in create_volume
vdevs = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, encrypt, volume)
File "./freenasUI/middleware/notifier.py", line 693, in __prepare_zfs_vdev
swapsize=swapsize)
File "./freenasUI/middleware/notifier.py", line 339, in __gpt_labeldisk
c.call('disk.wipe', devname, 'QUICK', job=True)
File "./freenasUI/middleware/notifier.py", line 339, in __gpt_labeldisk
c.call('disk.wipe', devname, 'QUICK', 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 '('dd', 'if=/dev/zero', 'of=/dev/da0p2', 'bs=1m', 'count=32')' returned non-zero exit status 1.
I tried it a few times but got the same error. I then gave up, rebooted, and was able to create the new pool.
(Not sure if this is the right place to report this kind of thing, but let me know if there's somewhere better.)