Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Error Recieved while trying to expand pool to utilize full space on drives.

Description

I built out a raidz2 array with 10tb drives awhile back. I then replaced the drives with 12tb drives one by one waiting for resilver of each drive. Once all drives were replaced and I had upgraded to the RC today I tried expanding the pool to utilize the full space on the 12tb drives I get this error.

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 515, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 560, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 174, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 48, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/expand.py", line 61, in expand
await self.expand_partition(part_data)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/expand.py", line 98, in expand_partition
await run(
File "/usr/lib/python3/dist-packages/middlewared/utils/_init_.py", line 97, in run
return await loop.run_in_executor(io_thread_pool_executor, functools.partial(subprocess.run, 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.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('sgdisk', '-d', '1', '-n', '1:2048:+11716788224KiB', '-t', '1:BF01', '-u', '1:e6c20d13-8a58-4ada-a733-ca2a4fb64b6c', '/dev/sdae')' returned non-zero exit status 4.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 519, in run
raise handled
middlewared.service_exception.CallError: [EFAULT] Command sgdisk -d 1 -n 1:2048:+11716788224KiB -t 1:BF01 -u 1:e6c20d13-8a58-4ada-a733-ca2a4fb64b6c /dev/sdae failed (code 4):
Could not create partition 1 from 2048 to 23433578495
Could not change partition 1's type code to BF01!
Error encountered; not saving changes.

Session ID: e48f4295-fe02-f68f-828b-2817f6de8294

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk 3 days ago

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk last month

Thanks for your submission! This is in our queue to review now. An engineering representative will update with any further questions or details in the near future.

Duplicate

Details

Assignee

Reporter

Labels

Fix versions

Priority

More fields

Katalon Platform

Created last month
Updated 3 days ago
Resolved 3 days ago

Flag notifications