Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greek (el): Update NFS locking instructions #294

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -426,19 +426,20 @@ The man:fstab[5] manual page lists all the available options.

=== Locking

Some applications (e.g. mutt) require file locking to operate correctly. In the case of NFS, rpc.lockd can be used for file locking. To enable it, add the following to the [.filename]#/etc/rc.conf# file on both client and server (it is assumed that the NFS client and server are configured already):
Some applications require file locking to operate correctly.
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"
....

Start the application by using:
Then start the service:

[source,shell]
....
# /etc/rc.d/nfslocking start
# service lockd start

....

If real locking between the NFS clients and NFS server is not required, it is possible to let the NFS client do locking locally by passing `-L` to man:mount_nfs[8]. Refer to the man:mount_nfs[8] manual page for further details.
Expand Down