MFV 331704:
9191 dump vdev tree to zfs_dbgmsg when spa load fails due to missing log devices illumos/illumos-gate@ccef24b493 Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: Pavel Zakharov <pavel.zakharov@delphix.com>
This commit is contained in:
commit
6cc8a8260f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331705
@ -1887,6 +1887,7 @@ spa_check_for_missing_logs(spa_t *spa)
|
||||
|
||||
if (idx > 0) {
|
||||
spa_load_failed(spa, "some log devices are missing");
|
||||
vdev_dbgmsg_print_tree(rvd, 2);
|
||||
return (SET_ERROR(ENXIO));
|
||||
}
|
||||
} else {
|
||||
@ -1898,6 +1899,7 @@ spa_check_for_missing_logs(spa_t *spa)
|
||||
spa_set_log_state(spa, SPA_LOG_CLEAR);
|
||||
spa_load_note(spa, "some log devices are "
|
||||
"missing, ZIL is dropped.");
|
||||
vdev_dbgmsg_print_tree(rvd, 2);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user