You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for re-adopting physical disks (#10221)
This change implements the determinations in RFD 663. It allows
re-adopting physical disks in the control plane after the control plane
level disk in the `physical_disk` table is expunged.
It does this by forcing manual adoption of disks by an operator, where
requests are placed in the `physical_disk_adoption_request` table.
A disk will now only be adopted or re-adopted by the disk adoption
background task if its physical vendor/model/serial information is
present in a `physical_disk_adoption_request` row.
The typical flow for an operator is to list uninitialized disks and then
issue an adoption request via the external API.
We also allow automatic re-adoption of disks if they have never been seen by the
same sled. For instance, if a sled is expunged and zpools destroyed, re-adding the
sled will give it a different id and therefore allow adoption of disks with the same
physical id.
---------
Co-authored-by: Andy Fiddaman <illumos@fiddaman.net>
0 commit comments