HomeFreeBSD

Sync AUX label during pool import

Description

Sync AUX label during pool import

Spare and l2cache vdev labels are not updated during import. Therefore,
if disk paths are updated between pool export and import, the AUX label
still shows the old paths. This patch syncs the AUX label
during import to show the correct path information.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Umer Saleem <usaleem@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #15817

Details

Provenance
Ameer Hamza <ahamza@ixsystems.com>Authored on Aug 8 2024, 10:16 PM
GitHub <noreply@github.com>Committed on Aug 8 2024, 10:16 PM
Parents
rG0ccd4b9d01f7: ZTS: Add a test to verify that copy_file_range obeys RLIMIT_FSIZE
Branches
Unknown
Tags
Unknown