Error during VDEV Provisioning

Description

[EFAULT] Partition type 6a898cc3-1dd2-11b2-99a6-080020736631 not found on sdd

Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 378, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 414, in __run_body
rv = await self.method(*([self] + args))
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1001, in nf
return await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 850, in do_update
enc_disks = await self.middleware.call('pool.format_disks', job, disks, {'enc_keypath': enc_keypath})
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1239, in call
return await self._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1196, 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 32, in format_disk
devname = await self.middleware.call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1239, in call
return await self._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1207, 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 1111, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/lib/python3/dist-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/disk_/disk_info_linux.py", line 97, 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 sdd

Platform: SuperMicro 6028, 4TB SATA HGST Ultrastor drives. Storage Controller: AOC-S3108L-H8iR. Have L2Arc & SLOG NVME drives in place. Scale v.2021.04

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Vladimir Vinogradenko June 3, 2021 at 10:00 PM
Edited

this is a GPT partition table, so was it failing to remove GPT too?

Paul Tisl June 3, 2021 at 9:21 PM
Edited

Here is the partition table off one of my drives currently in my QNAP NAS.  This should be identical (other than drive size difference) to what they had on them when I had the issue.  QNAP uses mdadm to create the raid set with ext4 formatting.

 

Vladimir Vinogradenko June 3, 2021 at 9:12 PM

We failed to repeat this issue. Today we tried partitioning a 4TB 4KB-sector-size HDD to MBR (the closest reproduction case) and TrueNAS SCALE erases that successfully.

Partition table is silently not modified (or not reread by kernel) while all tools report success. We can claim that by seeing lack of dmesg messages identifying newly created partitions which were created right before the exception.

if you ever see this again, can you please hold one of drives that causes issues and we'll try to organize TeamViewer session ASAP to investigate this? Meanwhile, I'll have to close this as non-reproducible.

Nick Wolff June 2, 2021 at 4:52 PM

Paul Tisl June 2, 2021 at 1:29 AM

Qnap NAS running QTS

Cannot Reproduce
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created May 7, 2021 at 3:43 PM
Updated July 6, 2022 at 9:02 PM
Resolved June 3, 2021 at 9:13 PM