Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

How to start statd?

3 Answer(s) Available
Answer # 1 #

/etc/init.d/nfs-kernel-server status shows that the NFS share is working as expected. The problem is that whenever I attempt to mount the NFS share from another Linux host, stdout says

ps -ef |grep statd shows that rpc.statd is already running, so why do they say to "start statd"?

Including their -o nolock suggestion allows for the mount NFS to occur, but then the mounted NFS becomes read-only. The /etc/exports file asks for rw.

How do you start statd? Is the NFS client or server missing some configuration?

Here's what worked for me. Make a declaration for each shared folder in /etc/exports, e.g.

statd can be started by

service statd stop followed by

service statd start. Then ps -ef |grep statd shows

statd 1994 1 0 15:23 ? 00:00:00 rpc.statd -L

Once you've verified that statd is running, next run mount from the Linux client,

mount 192.168.1.3:/folderToExport /mountFolder

There should no longer be a message rpc.statd is not running ... start statd

Finally, be sure that permissions on NFS server allow for rw permissions. (Modifying the /etc/exports file alone was insufficient)

[3]
Edit
Query
Report
Amr Wynn
Camp Nursing
Answer # 2 #
  • Install the required nfs-utils package if it was not already installed by default.
  • Start the NFS services by issuing the following commands: systemctl start rpcbind systemctl start nfs-server.
  • Enable the NFS services by issuing the following command: systemctl enable nfs-server.
[2]
Edit
Query
Report
Brendon Jennewein
Sub-Acute Nursing
Answer # 3 #

About Us

Leadership

Careers

Newsroom

Success Stories

Investor Relations

Social Impact

SUSE Logo and Brand

Events & Webinars

Merchandise Store

[0]
Edit
Query
Report
Bhairavi Rammana
BOBBIN STRIPPER