Make middleware clear old pool labels from new partitions
Description
Problem/Justification
None
Impact
None
is cloned by
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:
Bug Clerk April 28, 2021 at 1:06 AM
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Waqar Ahmed
Waqar AhmedReporter
Ryan Moeller
Ryan Moeller(Deactivated)Components
Fix versions
Affects versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created September 9, 2019 at 3:13 PM
Updated July 1, 2022 at 4:44 PM
Resolved April 28, 2021 at 3:10 PM
When disks are reused, old pool labels on the disk may be revealed when new partitions are added. This can potentially cause problems booting and importing pools.
Attempt to clear existing pool labels whenever a new partition is added.
This is done by running `zpool labelclear -f /dev/$diskpart` after adding a new partition to a disk and should be done for all partition types, not just freebsd-zfs.
The user will have already agreed to wipe the contents of the disk by the time we have repartitioned it.