zpool: Change base URL for ZFS messages to openzfs-docs

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10820
This commit is contained in:
Ryan Moeller 2020-08-27 00:43:06 -04:00 committed by Brian Behlendorf
parent 4f6167deb5
commit 57fc3987a0
4 changed files with 14 additions and 9 deletions

View File

@ -2816,7 +2816,8 @@ show_import(nvlist_t *config)
if (msgid != NULL) { if (msgid != NULL) {
(void) printf(gettext( (void) printf(gettext(
" see: https://zfsonlinux.org/msg/%s\n"), msgid); " see: https://openzfs.github.io/openzfs-docs/msg/%s\n"),
msgid);
} }
(void) printf(gettext(" config:\n\n")); (void) printf(gettext(" config:\n\n"));
@ -7804,7 +7805,7 @@ print_dedup_stats(nvlist_t *config)
* pool: tank * pool: tank
* status: DEGRADED * status: DEGRADED
* reason: One or more devices ... * reason: One or more devices ...
* see: https://zfsonlinux.org/msg/ZFS-xxxx-01 * see: https://openzfs.github.io/openzfs-docs/msg/ZFS-xxxx-01
* config: * config:
* mirror DEGRADED * mirror DEGRADED
* c1t0d0 OK * c1t0d0 OK
@ -8193,7 +8194,9 @@ status_callback(zpool_handle_t *zhp, void *data)
if (msgid != NULL) { if (msgid != NULL) {
printf(" "); printf(" ");
printf_color(ANSI_BOLD, gettext("see:")); printf_color(ANSI_BOLD, gettext("see:"));
printf(gettext(" https://zfsonlinux.org/msg/%s\n"), msgid); printf(gettext(
" https://openzfs.github.io/openzfs-docs/msg/%s\n"),
msgid);
} }
if (config != NULL) { if (config != NULL) {

View File

@ -1013,10 +1013,10 @@ typedef struct vdev_rebuild_stat {
} vdev_rebuild_stat_t; } vdev_rebuild_stat_t;
/* /*
* Errata described by https://zfsonlinux.org/msg/ZFS-8000-ER. The ordering * Errata described by https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-ER.
* of this enum must be maintained to ensure the errata identifiers map to * The ordering of this enum must be maintained to ensure the errata identifiers
* the correct documentation. New errata may only be appended to the list * map to the correct documentation. New errata may only be appended to the
* and must contain corresponding documentation at the above link. * list and must contain corresponding documentation at the above link.
*/ */
typedef enum zpool_errata { typedef enum zpool_errata {
ZPOOL_ERRATA_NONE, ZPOOL_ERRATA_NONE,

View File

@ -4850,7 +4850,8 @@ zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
case ZFS_ERR_FROM_IVSET_GUID_MISSING: case ZFS_ERR_FROM_IVSET_GUID_MISSING:
zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, zfs_error_aux(hdl, dgettext(TEXT_DOMAIN,
"IV set guid missing. See errata %u at " "IV set guid missing. See errata %u at "
"https://zfsonlinux.org/msg/ZFS-8000-ER."), "https://openzfs.github.io/openzfs-docs/msg/"
"ZFS-8000-ER."),
ZPOOL_ERRATA_ZOL_8308_ENCRYPTION); ZPOOL_ERRATA_ZOL_8308_ENCRYPTION);
(void) zfs_error(hdl, EZFS_BADSTREAM, errbuf); (void) zfs_error(hdl, EZFS_BADSTREAM, errbuf);
break; break;

View File

@ -3201,7 +3201,8 @@ spa_verify_host(spa_t *spa, nvlist_t *mos_config)
cmn_err(CE_WARN, "pool '%s' could not be " cmn_err(CE_WARN, "pool '%s' could not be "
"loaded as it was last accessed by " "loaded as it was last accessed by "
"another system (host: %s hostid: 0x%llx). " "another system (host: %s hostid: 0x%llx). "
"See: http://illumos.org/msg/ZFS-8000-EY", "See: https://openzfs.github.io/openzfs-docs/msg/"
"ZFS-8000-EY",
spa_name(spa), hostname, (u_longlong_t)hostid); spa_name(spa), hostname, (u_longlong_t)hostid);
spa_load_failed(spa, "hostid verification failed: pool " spa_load_failed(spa, "hostid verification failed: pool "
"last accessed by host: %s (hostid: 0x%llx)", "last accessed by host: %s (hostid: 0x%llx)",