Benfei USB to SATA Adapter

gnortham

Cadet
Joined
Dec 30, 2020
Messages
4
I am trying to install a Benfei USB to SATA adapter on my TrueNAS system I am running TrueNAS 13.0-u5.2
on an old computer with an Asus Z87-PRO motherboard 16gb ram with (4) 2T drives for one pool and (1) 6T drive for the second pool.
My boot drive is a 60G SSD. I tryed to attach the USB to SATA with an identical 60G ssd as a mirrored pool drive and got the following error:

Error: [EFAULT] concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/zfs.py", line 220, in extend i['target'].attach(newvdev) File "libzfs.pyx", line 402, in libzfs.ZFS.__exit__ File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/zfs.py", line 220, in extend i['target'].attach(newvdev) File "libzfs.pyx", line 2117, in libzfs.ZFSVdev.attach libzfs.ZFSException: can only attach to mirrors and top-level disks During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/concurrent/futures/process.py", line 246, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 111, in main_worker res = MIDDLEWARE._run(*call_args) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 45, in _run return self._call(name, serviceobj, methodobj, args, job=job) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 39, in _call return methodobj(*params) File "/usr/local/lib/python3.9/site-packages/middlewared/worker.py", line 39, in _call return methodobj(*params) File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 985, in nf return f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/zfs.py", line 223, in extend raise CallError(str(e), e.code) middlewared.service_exception.CallError: [EZFS_BADTARGET] can only attach to mirrors and top-level disks """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run await self.future File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 386, in __run_body rv = await self.middleware._call_worker(self.method_name, *self.args, job={'id': self.id}) File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1250, in _call_worker return await self.run_in_proc(main_worker, name, args, job) File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1169, in run_in_proc return await self.run_in_executor(self.__procpool, method, *args, **kwargs) File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1152, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) middlewared.service_exception.CallError: [EZFS_BADTARGET] can only attach to mirrors and top-level disks

If anyone can tell me what I am doing wrong I would appreciate it.
 

somethingweird

Contributor
Joined
Jan 27, 2022
Messages
183
I'm guessing the USB to SATA is not compatible with truenas
 

gnortham

Cadet
Joined
Dec 30, 2020
Messages
4
According to what I've read USB to SATA adapters are supposed to work. But, maybe this brand isn't. Or it's defective.
I thought I would try to re-install trueNas and recover the system to the USB to SATA drive.
 

gnortham

Cadet
Joined
Dec 30, 2020
Messages
4
I did a fresh install of TrueNAS on the USB to SATA adapters and it worked fine. I have ordered another USB to SATA adapter and when it comes I will try a mirrored install.
 
Top