Error creating pool

Bane

Dabbler
Joined
Dec 31, 2017
Messages
43
I have a LSI 9207 SAS Controller in IT mode with 5 HGST 8 TB drives attached to my freenas and I get an error when trying to create a pool. When I try to wipe each disk from the Disks menu, I get a similar error.

The below is what is displayed:

EFAULT] Failed to wipe disk da2: [EFAULT] Command gpart create -s gpt /dev/da2 failed (code 1): gpart: Device not configured

If I expand out the error I get:

Error: Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/tastypie/resources.py", line 219, in wrapper
response = callback(request, *args, **kwargs)

File "./freenasUI/api/resources.py", line 1421, in dispatch_list
request, **kwargs

File "/usr/local/lib/python3.7/site-packages/tastypie/resources.py", line 450, in dispatch_list
return self.dispatch('list', request, **kwargs)

File "./freenasUI/api/utils.py", line 252, in dispatch
request_type, request, *args, **kwargs

File "/usr/local/lib/python3.7/site-packages/tastypie/resources.py", line 482, in dispatch
response = method(request, **kwargs)

File "/usr/local/lib/python3.7/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.7/site-packages/tastypie/resources.py", line 2175, in obj_create
return self.save(bundle)

File "./freenasUI/api/utils.py", line 493, in save
form.save()

File "./freenasUI/storage/forms.py", line 282, in save
return False

File "./freenasUI/storage/forms.py", line 279, in save
}, job=True)

File "/usr/local/lib/python3.7/site-packages/middlewared/client/client.py", line 399, in call
return jobobj.result()

File "/usr/local/lib/python3.7/site-packages/middlewared/client/client.py", line 172, in result
raise ClientException(job['error'], trace={'formatted': job['exception']})

middlewared.client.client.ClientException: [EFAULT] Failed to wipe disk da4: [EFAULT] Command gpart create -s gpt /dev/da4 failed (code 1):
gpart: Device not configured



Please help,

Thanks,
 

Bane

Dabbler
Joined
Dec 31, 2017
Messages
43
I was able to fix this issue. After tons of googleing, I found that I needed to use sg_format /f to format each drive back to HGST's factory format.

This article actually had the solution:

1587647563843.png
 
Top