| Summary: | openSUSE 11.3 failed to mount export from gluster-nfs server | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Bernard Li <bernard> |
| Component: | nfs | Assignee: | Shehjar Tikoo <shehjart> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | nfs-alpha | CC: | gluster-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTP | Mount Type: | nfs |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Bernard Li
2010-09-23 23:18:58 UTC
What kernel version does distro have? Recent kernels have moved the default nfs mount versions to 4 instead of 3. Kernel version is 2.6.34-12-desktop and you're right, it also times out if I execute the following: # mount -o nfsvers=4 gluster-nfs:/export /share I found this bugzilla entry for openSUSE 11.3 regarding NFS version fallback: https://bugzilla.novell.com/show_bug.cgi?id=557138 Will do more troubleshooting and report back tomorrow. Thanks. I have updated my nfs-client to 1.2.1-34.2 (from openSUSE Factory) which supposedly has the above openSUSE bug 557138 fixed. However, it still won't fall back from NFSv4 to NFSv3. What does gluster-nfs return when a mount request fails? ENOENT or EPERM or neither? Please let me know if I can provide any additional information to fix this issue, thanks! (In reply to comment #3) > I have updated my nfs-client to 1.2.1-34.2 (from openSUSE Factory) which > supposedly has the above openSUSE bug 557138 fixed. However, it still won't > fall back from NFSv4 to NFSv3. > > What does gluster-nfs return when a mount request fails? ENOENT or EPERM or > neither? I see the negotiation depends on receiving a ENOENT from the server but because we dont support nfsv4, we dont register a NFSv4 service with portmapper. After that, portmap does not return a NFSv4 port to nfsv4 clients trying to connect. So a timeout occurs. > > Please let me know if I can provide any additional information to fix this > issue, thanks! Closing. There is nothing that can be done here because we dont register a NFSv4 program with the portmapper, so the question about returning a ENOENT or EPERM for a NFSv3 export doesnt arise. I may consider registering a fake nfsv4 program just to return a ENOENT to be nfs client friendly but that will prevent a genuine nfs v4 server from registering on the same machine. |