]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Add path handling for aux vdevs in `label_path`
authorAmeer Hamza <ahamza@ixsystems.com>
Thu, 4 Jan 2024 14:35:04 +0000 (19:35 +0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 16 Jan 2024 21:18:07 +0000 (13:18 -0800)
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


No differences found