Thanks again for your quick response Redcoat/
Allow me to clarify, the firs round was swapping the drive on ada0 for a different drive. 5 drives went through ada0 and all of them getting the same error. After running out of drives, through FreeNAS, the same drives went through the RAID card. They were all read and wipe without any issues.
As last test, ada0 was swapped with ada1, after the swap, ada0 again failed to be wiped. RPL the drive with a different drive, wipe failed again. Moved drive on ada0 to ada1, ada1 was set aside the system on a different batch. Placed a new drive on ada0, ada1 was wiped successfully again, while ada0 failed. ada0 is attached to P1 and ada1 to P2 ports.
Both ends reported the updated SNs correctly. The SATA card as well as FreeNAS but, only the SATA card was able to wipe the drive attached to P1. On the FreeNAS side, the SN was updated successfully, wiped failed and disk was removed from the Disks listing. Out of a pile of 16 disks, some 6 Hitachis and 10 WDs, all of those attached to P1 (ada0) failed to be wiped.
Just for giggles, using the drives a RAID1 was created, still same effect. Funny part is, creating either RAID0 or 1, FreeNAS is unable to mount SiI. It seems that there is a bug with gpart or the python script. When creating a new pool using those drives, here is what I get:
======================= STACT STACK ERROR =======================
Error creating pool
[EFAULT] Failed to wipe disk ada0: [EFAULT] Command gpart create -s gpt /dev/ada0 failed (code 1): gpart: Device not configured
remove_circle_outlineMore info...
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 ada0: [EFAULT] Command gpart create -s gpt /dev/ada0 failed (code 1):
gpart: Device not configured
======================= END STACK ERROR =======================
Thank you for your assistance.