From nobody Sat Sep 09 09:22:09 2023 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjSDK3WwJz4t0Dw for ; Sat, 9 Sep 2023 09:22:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjSDK378vz4fwt; Sat, 9 Sep 2023 09:22:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694251329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wsyUyDpfzOvpf0rF6qWoI3dB+cnLSjlF+zxYDXAf1eg=; b=jcHwe8qpwadt9kBAFVZlZcp8WiawUwyxoAfMMRimuE3jMyuWrYtsXcV28xjw7Iw3go2Ll8 8eV0A8zRzNvQa80ZKZKbVWaK8Qcl4pvM/YjePUDl7yIieVh1ilZctxC5MQ/GkNCbb1sRf/ T/CIWcYvT8ZkwiDeGy+B/Oa5PYk8p/eX7msJ7DCDtFU/QWk4cFJP3YxMaWoYYNbqNJHTBz mk14PeGJuUeMOzc7ysCdvClQG5belhB1FjiFzoxdXl1cRCWxWMFoOh+IgikaVXkZ0dot47 wjQ7TjHW6S8GukItq0qxP681rdddOCgtYUXEmdaj/FL00182DgbqHGy7PcCg8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694251329; a=rsa-sha256; cv=none; b=cl3+XecxauH1ZkiJjPcdAeSxMbqRiSTsBA3lRNZaTzcv9eMt8VTpeLQZ55x6f+G7Cj51Ue 5wVT+fYTCjyiXS1LjbYu38tZAEkyjaf6eBmGk3kZgbjtnAw5dUasTTX5sy+qu/Ovh8dB/+ rAW3XGT62p/JFprX1OcYADIqXtpWzesYGkkzscWSld+GM1PFeaX1M067KTyDIsHtZPV7i0 u3GLqVxDN/f7R8oxfjnlaaE3hHUmHukEy5owqo3O8uHBMZEouwUWJvlvc8r8W7EfI3zeeL KUwLwd0ZKFsMP4RJNQP64owsEFcDFZXIo6X2Yf2H07BuFlPUUB5eT/YXJW1bjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694251329; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wsyUyDpfzOvpf0rF6qWoI3dB+cnLSjlF+zxYDXAf1eg=; b=mz+sRAPOcqPoOZVIbKJacloMjD7Kd29OWCMLTiUBzdL3PHqAWCiiIy23dUb52AqKGD3hY3 sPTj7TJwQMrpe2jh4UcZoX4N03ISwl8WXXROxYkMKFNv4LzAj2Oox42XhY2ekLNHhr+g5D 6EYEXG9b3cQd7PHNpG3yingG2XgwQHd260H+4WvRv9iTX192zhtzoMoE8Zyx5lu5zJh3WW pOxez0UgegZPSfwrir1iE9+slhQ2Wm8i3RYR11jBZFP8G1yON5pNDyfCIuQEKVHOso6NDK bT/XstAv/hMCfPaJy+M2qSEQHCQRo9hskqQRQ4YLpjfU56otf/3zVGmgu14eKw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RjSDK2Dpmz4Yp; Sat, 9 Sep 2023 09:22:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3899M9FZ051793; Sat, 9 Sep 2023 09:22:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3899M9Mk051790; Sat, 9 Sep 2023 09:22:09 GMT (envelope-from git) Date: Sat, 9 Sep 2023 09:22:09 GMT Message-Id: <202309090922.3899M9Mk051790@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 092bcd63ad - main - Handbook - Network Servers: Improve NFS locking instructions List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 092bcd63ad88ce3a460db813b3ce522aa5ec4650 Auto-Submitted: auto-generated The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=092bcd63ad88ce3a460db813b3ce522aa5ec4650 commit 092bcd63ad88ce3a460db813b3ce522aa5ec4650 Author: Sergio Carlavilla Delgado AuthorDate: 2023-09-09 09:20:37 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2023-09-09 09:20:37 +0000 Handbook - Network Servers: Improve NFS locking instructions PR: 238532 Reported by: Ronald F. Guilmette --- .../content/en/books/handbook/network-servers/_index.adoc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/documentation/content/en/books/handbook/network-servers/_index.adoc b/documentation/content/en/books/handbook/network-servers/_index.adoc index 37ba19b0e3..293a5cf281 100644 --- a/documentation/content/en/books/handbook/network-servers/_index.adoc +++ b/documentation/content/en/books/handbook/network-servers/_index.adoc @@ -445,20 +445,18 @@ Refer to man:fstab[5] for a description of all available options. === Locking Some applications require file locking to operate correctly. -To enable locking, add these lines to [.filename]#/etc/rc.conf# on both the client and server: +To enable locking, execute the following command on both the client and server: -[.programlisting] +[source,shell] .... -rpc_lockd_enable="YES" -rpc_statd_enable="YES" +# sysrc rpc_lockd_enable="YES" .... -Then start the applications: +Then start the service: [source,shell] .... # service lockd start -# service statd start .... If locking is not required on the server, the NFS client can be configured to lock locally by including `-L` when running mount.