Bug 757452
Summary: | nfsd fails without logging when launched from nfs-server | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | bob mckay <urilabob> |
Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | bfields, dwmw2, jlayton, steved, tgl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nfs-utils-1.2.5-14.fc17 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-24 00:26:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
bob mckay
2011-11-27 07:33:27 UTC
Is there a /etc/sysconfig/nfs.rpmnew file? If so, please merge the nfs.rpmnew file with the nfs file, making sure the RPCNFSDCOUNT variable is uncommented and has a valid value (8). With the new systemd init scripts, the RPCNFSDCOUNT has to be set or the server will not come up. In the older version of /etc/sysconfig/nfs file the RPCNFSDCOUNT was not set. In the newer version it needs to be set. To verify the server did come up use the following command: # ps ax | grep nfsd 2540 ? S< 0:00 [nfsd4] 2541 ? S< 0:00 [nfsd4_callbacks] 2542 ? S 0:00 [nfsd] 2543 ? S 0:00 [nfsd] 2544 ? S 0:00 [nfsd] 2545 ? S 0:00 [nfsd] 2546 ? S 0:00 [nfsd] 2547 ? S 0:00 [nfsd] 2548 ? S 0:00 [nfsd] 2549 ? S 0:00 [nfsd] 2555 pts/2 S+ 0:00 grep nfsd Hi Steve and thanks for your comments. I need to apologise for the obscurity of my writing. Actually, I had realised (after a lot of hard work) that I needed to fix my /etc/sysconfig/nfs file, and my system is now working fine. I don't think it's a bug that using the old nfs configuration file failed. That is reasonable behaviour - just deserts for not checking for rpmnews 8^). What I think _is_ a bug is that there was zero logging of the failure, either through 'systemctl status' or through /var/log/messages. (In reply to comment #2) > What Ithink _is_ a bug is that there was zero logging of the failure, either > through 'systemctl status' or through /var/log/messages. I agree its frustrating when errors and warnings are not logged but unfortunately not giving rpc.nfsd a proc count appears not to be an error. Although the rpc.nfsd(8) man page states a count should be given. Looking at the code, when rpc.nfsd is not given a count, it defaults to 1 nfsd proc. So in theory the server should have come up, but running with one nfsd proc is by no means a good idea. So I will look into bumping up that default and logging a warning when the default is used instead of a given count... Hopefully that will help... Hi Steve; until I fixed /etc/sysconfig/nfs, the server was not coming up at all: rpcinfo -p showed nfs, nfs-acl and nlockmgr all missing, they appeared as soon as I fixed the config file. This was repeated on three different machines with different versions of /etc/sysconfig/nfs, so it wasn't the particular contents of /etc/sysconfig/nfs that was causing it to fail to start. Logging a warning would be great news. I'm sure it will save a lot of trouble for users. Thank you. This (failure to set RPCNFSDCOUNT) bit me too ... better logging would be nice. nfs-utils-1.2.5-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/nfs-utils-1.2.5-5.fc16 nfs-utils-1.2.5-13.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/nfs-utils-1.2.5-13.fc17 Package nfs-utils-1.2.5-13.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nfs-utils-1.2.5-13.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-4479/nfs-utils-1.2.5-13.fc17 then log in and leave karma (feedback). *** Bug 772090 has been marked as a duplicate of this bug. *** nfs-utils-1.2.5-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. nfs-utils-1.2.5-14.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |