mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-06-25 10:38:00 +03:00
zpool: clarify ZPOOL_STATUS_REMOVED_DEV status message
Disks can be removed either by the administrator via hotplug or by the kernel when a disk failure occurs. The previous message implied that removal was always manual, which could be confusing. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Closes #17400
This commit is contained in:
parent
b3b3cd1e4f
commit
f5a6dd8b70
@ -10432,10 +10432,9 @@ print_status_reason(zpool_handle_t *zhp, status_cbdata_t *cbp,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ZPOOL_STATUS_REMOVED_DEV:
|
case ZPOOL_STATUS_REMOVED_DEV:
|
||||||
snprintf(status, ST_SIZE, gettext("One or more devices has "
|
snprintf(status, ST_SIZE, gettext("One or more devices have "
|
||||||
"been removed by the administrator.\n\tSufficient "
|
"been removed.\n\tSufficient replicas exist for the pool "
|
||||||
"replicas exist for the pool to continue functioning in "
|
"to continue functioning in a\n\tdegraded state.\n"));
|
||||||
"a\n\tdegraded state.\n"));
|
|
||||||
snprintf(action, AC_SIZE, gettext("Online the device "
|
snprintf(action, AC_SIZE, gettext("Online the device "
|
||||||
"using zpool online' or replace the device with\n\t'zpool "
|
"using zpool online' or replace the device with\n\t'zpool "
|
||||||
"replace'.\n"));
|
"replace'.\n"));
|
||||||
|
Loading…
Reference in New Issue
Block a user