mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-06-25 02:28:01 +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;
|
||||
|
||||
case ZPOOL_STATUS_REMOVED_DEV:
|
||||
snprintf(status, ST_SIZE, gettext("One or more devices has "
|
||||
"been removed by the administrator.\n\tSufficient "
|
||||
"replicas exist for the pool to continue functioning in "
|
||||
"a\n\tdegraded state.\n"));
|
||||
snprintf(status, ST_SIZE, gettext("One or more devices have "
|
||||
"been removed.\n\tSufficient replicas exist for the pool "
|
||||
"to continue functioning in a\n\tdegraded state.\n"));
|
||||
snprintf(action, AC_SIZE, gettext("Online the device "
|
||||
"using zpool online' or replace the device with\n\t'zpool "
|
||||
"replace'.\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user