Hi all, hope someone can please help me.
I have the above error when trying to create a pool or wipe 2 of my WD Red 2TB hard drives, these drives were used in an old Freenas server which I removed because the PSU went faulty,
I have tried the drives in a Windows machine and windows cannot see the drives, so have converted another machine into a Truenas box running the latest version of Truenas Scale booting from a 250GB SSD.
When I try to create a pool, I get this error, I am a newbie to FreeBSD/Linux so do not know many commands, so please could you help.
I have the above error when trying to create a pool or wipe 2 of my WD Red 2TB hard drives, these drives were used in an old Freenas server which I removed because the PSU went faulty,
I have tried the drives in a Windows machine and windows cannot see the drives, so have converted another machine into a Truenas box running the latest version of Truenas Scale booting from a 250GB SSD.
When I try to create a pool, I get this error, I am a newbie to FreeBSD/Linux so do not know many commands, so please could you help.
Code:
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 409, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 445, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1137, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1269, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 757, in do_create formatted_disks = await self.middleware.call('pool.format_disks', job, disks) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1324, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1281, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/format_disks.py", line 56, in format_disks await asyncio_map(format_disk, disks.items(), limit=16) File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 16, in asyncio_map return await asyncio.gather(*futures) File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 13, in func return await real_func(arg) File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/format_disks.py", line 29, in format_disk await self.middleware.call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1324, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1292, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1192, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/disk_/format.py", line 26, in format raise CallError(f'Failed to wipe disk {disk}: {job.error}') middlewared.service_exception.CallError: [EFAULT] Failed to wipe disk sdb: [Errno 5] Input/output error