HomeFreeBSD

Add path handling for aux vdevs in `label_path`

Description

Add path handling for aux vdevs in label_path

If the AUX vdev is added using UUID, importing the pool falls back AUX
vdev to open it with disk name instead of UUID due to the absence of
path information for AUX vdevs. Since AUX label now have path
information, this PR adds path handling for it in label_path.

Reviewed-by: Umer Saleem <usaleem@ixsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #15737

Details

Provenance
Ameer Hamza <ahamza@ixsystems.com>Authored on Jan 4 2024, 2:35 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 29 2024, 10:53 PM
Parents
rGeb4a36bcef41: Extend aux label to add path information
Branches
Unknown
Tags
Unknown