Hi all,
First off let me explain my setup. Just got an IntelNUC at the moment running Proxmox, within that I have a VM running Portainer, HAOS and TrueNAS.
Now this is all purely for test purposes, I am new to all this virtualization stuff, and containers etc. Just playing around before I take a plunge into the markets of HomeLabs properly.
Anyway, I stuck a USB 3TB drive into my NUC, which is da1. When I go to create a pool I get this error -
[EFAULT] Failed to wipe disk da1: [Errno 5] Input/output error
I go to disks and I am able to run a SMART check OK. I know passing through USB isn't advised, but just for test sake is there anyone that is able to help me understand why I can't create a pool with this drive
Hugely appreicated.
First off let me explain my setup. Just got an IntelNUC at the moment running Proxmox, within that I have a VM running Portainer, HAOS and TrueNAS.
Now this is all purely for test purposes, I am new to all this virtualization stuff, and containers etc. Just playing around before I take a plunge into the markets of HomeLabs properly.
Anyway, I stuck a USB 3TB drive into my NUC, which is da1. When I go to create a pool I get this error -
[EFAULT] Failed to wipe disk da1: [Errno 5] Input/output error
I go to disks and I am able to run a SMART check OK. I know passing through USB isn't advised, but just for test sake is there anyone that is able to help me understand why I can't create a pool with this drive
Hugely appreicated.
Code:
Error: 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 391, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 652, in do_create
await self.middleware.call('pool.format_disks', job, disks)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1279, in call
return await self._call(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1236, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool_/format_disks.py", line 28, in format_disks
await asyncio_map(format_disk, disks.items(), limit=16)
File "/usr/local/lib/python3.9/site-packages/middlewared/utils/asyncio_.py", line 16, in asyncio_map
return await asyncio.gather(*futures)
File "/usr/local/lib/python3.9/site-packages/middlewared/utils/asyncio_.py", line 13, in func
return await real_func(arg)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool_/format_disks.py", line 24, in format_disk
await self.middleware.call('disk.format', disk, swapgb if config['create_swap'] else 0, False)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1279, in call
return await self._call(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1247, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
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))
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/disk_/format.py", line 21, in format
raise CallError(f'Failed to wipe disk {disk}: {job.error}')
middlewared.service_exception.CallError: [EFAULT] Failed to wipe disk da1: [Errno 5] Input/output error