Date: Fri, 16 Jun 2017 23:41:23 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r320039 - projects/pnfs-planb-server-stable11/usr.bin/pnfsdsfile Message-ID: <201706162341.v5GNfNgV028250@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Fri Jun 16 23:41:23 2017 New Revision: 320039 URL: https://svnweb.freebsd.org/changeset/base/320039 Log: Document the -c option that replaces the DS host IP# in the extended attribute. Modified: projects/pnfs-planb-server-stable11/usr.bin/pnfsdsfile/pnfsdsfile.1 Modified: projects/pnfs-planb-server-stable11/usr.bin/pnfsdsfile/pnfsdsfile.1 ============================================================================== --- projects/pnfs-planb-server-stable11/usr.bin/pnfsdsfile/pnfsdsfile.1 Fri Jun 16 23:41:13 2017 (r320038) +++ projects/pnfs-planb-server-stable11/usr.bin/pnfsdsfile/pnfsdsfile.1 Fri Jun 16 23:41:23 2017 (r320039) @@ -34,6 +34,7 @@ a pNFS data storage file location and/or modify the pn .Sh SYNOPSIS .Nm .Op Fl qz +.Op Fl c Ar old-dshostname,new-dshostname .Op Fl s Ar dshostname .Ar metadata_file .Sh DESCRIPTION @@ -60,6 +61,17 @@ This forces the pNFS MDS to do a Lookup RPC against th handle to update it. Normally this will only be necessary after the DS file has been recovered from a backup, causing the file handle to change. +.It Fl c Ar old-dshostname,new-dshostname +This option allows a sysadmin to replace the host IP# for the DS in the +pnfsd.dsfile extended attribute. +The old-hostname must resolve to the IP# already in the pnfsd.dsfile extended +attribute or the replacement will not be done. +If the old-dshostname matches, then the IP# is replaced by the first AF_INET +or AF_INET6 address that +.Xr getaddrinfo 3 +returns for the new-dshostname. +Changing a DS server's host IP# should be avoided, but this option will +allow it to be changed, if the change is unavoidable. .It Fl s Ar dshostname This option can be used with .Fl z
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706162341.v5GNfNgV028250>