Cannot Create Pool -- [EFAULT] Partition type 6a898cc3-1dd2-11b2-99a6-080020736631 not found on sda

Hello everybody,

I am currently attempting to create my first NAS using TrueNas Scale. In doing so I am coming across an issue where I am unable to create a pool due to the error posted in the title (I also put the full log down below). Here on some of the troubleshooting I have tried:

Switched to TrueNas Core = This worked and was able to get the NAS working, however Core lacks some features I think I want so I want to be on Scale.
Formatted disks with zeroes within TrueNas scale - Same issue
Tried importing from Core > Scale - Same issue
Attempted to wipe disk in Linux Shell - disk had no partitions, thus same issue.
Performed clean new installs of Scale multiple times - same issue.
Have tried TrueNas v24.10 and 24.04 - same issue.
The disks are seen in Bios and in scale.
Ran S.M.A.R.T Test - no issues.

If anyone has any ideas on how to resolve this that would be great. Thank you!

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 509, in run
await self.future
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 554, in _run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/service/crud_service.py”, line 261, in nf
rv = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 49, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 179, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool
/pool.py", line 577, in do_create
await self.middleware.call(‘pool.format_disks’, job, disks, 0, 30)
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1629, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1460, in call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool
/format_disks.py", line 34, in format_disks
devname = await self.middleware.call(‘disk.gptid_from_part_type’, disk, zfs_part_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1629, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1471, 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 1364, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/disk
/disk_info.py", line 173, in gptid_from_part_type
raise CallError(f’Partition type {part_type} not found on {disk}')
middlewared.service_exception.CallError: [EFAULT] Partition type 6a898cc3-1dd2-11b2-99a6-080020736631 not found on sda

Just in case anybody ever comes across this in the future. The issue was resolved by moving both HD SATA cables to different ports on my motherboard. Not sure why that resolved the issue or even caused when they worked on those ports in TrueNas Core, but it did so I’m happy.

@DasBlake

Thanks man I was having the same issue and this solved it for me as well. its weird that it just doesn’t like some of the SATA ports on a motherboard / requires certain ones.

Your pools should be imported with the partitions’ PARTUUIDs.

Strange that it wanted to use sda.