A pacemaker resource nfsserver failed to start with the following error: "Failed to create /var/lib/nfs/statd/state.new: No such file or directory"
Issue
A pacemaker
resourcenfsserver
failed to start with the following error: Failed to create /var/lib/nfs/statd/state.new: No such file or directory
Jan 5 16:21:54 node42 nfsserver(nfs-daemon)[101461]: INFO: Status: rpcbind
Jan 5 16:21:54 node42 nfsserver(nfs-daemon)[101461]: INFO: Status: nfs-mountd
Jan 5 16:21:54 node42 nfsserver(nfs-daemon)[101461]: ERROR: nfs-mountd is not running
Jan 5 16:21:54 node42 nfsserver(nfs-daemon)[101461]: INFO: Starting NFS server ...
Jan 5 16:21:54 node42 nfsserver(nfs-daemon)[101461]: INFO: Start: rpcbind i: 1
Jan 5 16:21:54 node42 systemd: Starting Preprocess NFS configuration...
Jan 5 16:21:54 node42 systemd: Started Preprocess NFS configuration.
Jan 5 16:21:54 node42 systemd: Starting NFS status monitor for NFSv2/3 locking....
Jan 5 16:21:54 node42 rpc.statd[101552]: Version 1.3.0 starting
Jan 5 16:21:54 node42 rpc.statd[101552]: Flags: TI-RPC
Jan 5 16:21:54 node42 rpc.statd[101552]: Failed to open directory sm: No such file or directory
Jan 5 16:21:54 node42 rpc.statd[101552]: Initializing NSM state
Jan 5 16:21:54 node42 rpc.statd[101552]: Failed to create /var/lib/nfs/statd/state.new: No such file or directory
Jan 5 16:21:54 node42 systemd: rpc-statd.service: control process exited, code=exited status=1
Jan 5 16:21:54 node42 systemd: Failed to start NFS status monitor for NFSv2/3 locking..
Jan 5 16:21:54 node42 systemd: Unit rpc-statd.service entered failed state.
Jan 5 16:21:54 node42 systemd: rpc-statd.service failed.
Jan 5 16:21:54 node42 nfsserver(nfs-daemon)[101461]: INFO: Start: v3locking: 1
Jan 5 16:21:54 node42 nfsserver(nfs-daemon)[101461]: ERROR: Failed to start NFS server locking daemons
Jan 5 16:21:54 node42 lrmd[4502]: notice: nfs-daemon_start_0:101461:stderr [ ocf-exit-reason:nfs-mountd is not running ]
Jan 5 16:21:54 node42 lrmd[4502]: notice: nfs-daemon_start_0:101461:stderr [ mount: sunrpc is already mounted or /var/lib/nfs3 busy ]
Jan 5 16:21:54 node42 lrmd[4502]: notice: nfs-daemon_start_0:101461:stderr [ sunrpc is already mounted on /var/lib/nfs2 ]
Jan 5 16:21:54 node42 lrmd[4502]: notice: nfs-daemon_start_0:101461:stderr [ sunrpc is already mounted on /var/lib/nfs3 ]
Jan 5 16:21:54 node42 lrmd[4502]: notice: nfs-daemon_start_0:101461:stderr [ Job for rpc-statd.service failed because the control process exited with error code. See "systemctl status rpc-statd.se
rvice" and "journalctl -xe" for details. ]
Jan 5 16:21:54 node42 lrmd[4502]: notice: nfs-daemon_start_0:101461:stderr [ ocf-exit-reason:Failed to start NFS server locking daemons ]
Jan 5 16:21:54 node42 crmd[4507]: notice: Result of start operation for nfs-daemon on node42: 1 (unknown error)
Jan 5 16:21:54 node42 crmd[4507]: notice: node42-nfs-daemon_start_0:340 [ ocf-exit-reason:nfs-mountd is not running\nmount: sunrpc is already mounted or /var/lib/nfs3 busy\n sunrpc is
already mounted on /var/lib/nfs2\n sunrpc is already mounted on /var/lib/nfs3\nJob for rpc-statd.service failed because the control process exited with error code. See "systemctl status rpc-statd.se
rvice" and "journalctl -xe" for details.\nocf-exit-reason:Failed to start NFS server locking daemons\n ]
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: Stopping NFS server ...
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: Stop: threads
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: Stop: rpc-statd
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: Stop: nfs-idmapd
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: Stop: nfs-mountd
Jan 5 16:21:55 node42 systemd: Stopping RPC bind service...
Jan 5 16:21:55 node42 systemd: Stopped RPC bind service.
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: Stop: rpcbind
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: Stop: rpc-gssd
Jan 5 16:21:55 node42 nfsserver(nfs-daemon)[101572]: INFO: NFS server stopped
Jan 5 16:21:55 node42 crmd[4507]: notice: Result of stop operation for nfs-daemon on node42: 0 (ok)
Environment
- Red Hat Enterprise Linux Server 7 (with the High Availability Add On)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.