Bug 1056851
Summary: | nfs-ganesha: mount path requires that it should start with "/" | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Saurabh <saujain> |
Component: | nfs-ganesha | Assignee: | Meghana <mmadhusu> |
Status: | CLOSED WONTFIX | QA Contact: | Saurabh <saujain> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.1 | CC: | ansubram, mmadhusu, mzywusko, nlevinki, nsathyan, sharne, skoduri, ssamanta, vagarwal |
Target Milestone: | --- | ||
Target Release: | RHGS 3.0.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
While mounting volume as hostname:volume in NFSv3 mount, the access is denied by server.
Workaround: Mount the volume as hostname:/volume in NFSv3, i.e.,prefix the volume name with a "/".
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-06 17:04:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1035040 |
Description
Saurabh
2014-01-23 04:35:27 UTC
Please test this behaviour using kernel-nfs as well. We suspect that the correct format to be given during mount is server_ip:/volume_path. The behaviour of nfs-ganesha is same as the kernel-nfs. With kernel-nfs,we see the same error when a similar NFSv3 mount is done. On the other hand, kernel-nfs supports both ip:/volume and ip:volume kind of mounts in NFSv4.So does nfs-ganesha.Please close the bug. Please add doc text for this known issue. Please review the edited doc text and sign off. The configuration file used to start nfs-ganesha has a "Tag" parameter in the export block. If the mount path doesn't start with a '/' , the tag name is used to address the export entry at mount time. To enable version 3 mounts like mount -t nfs -o vers=3 IP:vol /mnt, the tag name must be the name of the volume. For example, if the name of the volume is testvol, the tag name should be specified as, Tag = "testvol"; The 'Tag' parameter mentioned in the above notes is currently being used for a different purpose. Also even with the 'Tag' configured same as the volume name, sub-directory mounts will not work if tried to mount using "IP:volume_name" format. So we plan to adhere to kernel-nfs behavior in this case and mandate clients to mount using "/" leading character while using Ganesha. This needs to be documented. Closing the bug. Please re-open if this needs to be addressed in any of the future release. |