import zpools by guid on failover event

Description

PR: https://github.com/truenas/middleware/pull/8506

This is already being done on SCALE HA so I'm doing the equivalent on 13. This prevents failover from not working when trying to import a zpool via name and 2 or more disks have the same zpool information stamped on the labels but they're actually different zpools.

This can be reproduced easily by creating zpool named "zz" and use 3 disks. Export the zpool and recreate the zpool using 2 of those 3 disks naming it the same. Try to failover and you'll see zpool give an error to import by numeric ID instead because of duplicate zpoolnames.

Problem/Justification

None

Impact

None

Activity

Show:
Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Fix versions

Priority

Katalon Platform

Created March 10, 2022 at 8:15 PM
Updated August 19, 2022 at 4:41 PM
Resolved March 10, 2022 at 8:49 PM