Failed to replace boot drive

Description

Hi,

There is an issue that blocks replacing the boot drive.

Repro steps: go to boot pool and choose to replace the disk. Pick a drive and Press ok.

Output:

Error: [EFAULT] sgdisk -n4:0:+16777216K -t4:8200 /dev/sdi failed: Could not create partition 4 from 34 to 33554465 Could not change partition 4's type code to 8200! Error encountered; not saving changes.

sgdisk output after failure:

Version: TrueNAS-SCALE-22.12.0

Extra info: 

Tried 3 different disks.

Tried to resolve it with zpool replace. Gui tells it was successful, but it doesn't create the partition for boot, so it won't work.

There is an ongoing discussion about this issue on the forum with extra information from multiple user.

Link: https://www.truenas.com/community/threads/error-when-replacing-boot-pool-drive.106456/#post-737662

Üdvözlettel Pallagi Béla

Problem/Justification

None

Impact

None

Attachments

1

is duplicated by

Activity

Show:

Bug Clerk January 19, 2023 at 1:29 PM

Automation for Jira January 19, 2023 at 1:28 PM

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 January 19, 2023 at 12:08 PM

Béla Pallagi January 17, 2023 at 2:33 PM
Edited

debug file uploaded, as extra info, this is not a fresh 22.12 install I upgraded it from earlier versions.

Automation for Jira January 17, 2023 at 2:27 PM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

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

Details

Assignee

Reporter

Impact

Critical

Original estimate

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created January 17, 2023 at 2:27 PM
Updated February 24, 2023 at 12:14 PM
Resolved January 19, 2023 at 1:31 PM