| Summary: | mount.nfs can not parse the -o vers=3 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | JianHong Yin <jiyin> | ||||
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | JianHong Yin <jiyin> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.5 | CC: | eguan, steved, swhiteho | ||||
| Target Milestone: | rc | Keywords: | EasyFix, Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1005721 | Environment: | |||||
| Last Closed: | 2015-12-11 18:30:25 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: | |||||
| Bug Depends On: | 1005721 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
JianHong Yin
2013-09-09 09:25:19 UTC
run in RHEL6.5-20130905.1
[root@ibm-x3550m3-03 ~]# mount.nfs -o vers=3 localhost:/tmp /media/
usage: mount.nfs remotetarget dir [-rvVwfnsih] [-o nfsoptions]
options:
-r Mount file system readonly
-v Verbose
-V Print version
-w Mount file system read-write
-f Fake mount, do not actually mount
-n Do not update /etc/mtab
-s Tolerate sloppy mount options rather than fail
-h Print this help
nfsoptions Refer to mount.nfs(8) or nfs(5)
[root@ibm-x3550m3-03 ~]# mount.nfs -o nfsvers=3 localhost:/tmp /media/
usage: mount.nfs remotetarget dir [-rvVwfnsih] [-o nfsoptions]
options:
-r Mount file system readonly
-v Verbose
-V Print version
-w Mount file system read-write
-f Fake mount, do not actually mount
-n Do not update /etc/mtab
-s Tolerate sloppy mount options rather than fail
-h Print this help
nfsoptions Refer to mount.nfs(8) or nfs(5)
[root@ibm-x3550m3-03 ~]# lsb_release -sir
RedHatEnterpriseWorkstation 6.5
[root@ibm-x3550m3-03 ~]# rpm -q nfs-utils
nfs-utils-1.2.3-38.el6.x86_64
[root@ibm-x3550m3-03 ~]# cat /etc/issue
Red Hat Enterprise Linux Workstation release 6.5 Beta (Santiago)
Kernel \r on an \m
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. mount.nfs is not the supported way to do NFS mount. mount -o vers=3 works (In reply to Steve Dickson from comment #6) > mount.nfs is not the supported way to do NFS mount. > > mount -o vers=3 works In RHEL-7, it works fine; I think we should fix(or improve) it. Created attachment 898682 [details]
patch to fix - v1
(In reply to Yin.JianHong from comment #7) > (In reply to Steve Dickson from comment #6) > > mount.nfs is not the supported way to do NFS mount. > > > > mount -o vers=3 works > > In RHEL-7, it works fine; > I think we should fix(or improve) it. mount.nfs server:/export -o vers=3 also works... I would rather spend our resources working on other things... Ok. But I still want to express different points of view: GNU tools popular, one of the reasons is that there is no limited position of parameters and options; And, that is easy to fix. So I try again to reopen.. for our software with better user experience. I agree with Steve D, no customer has run into this yet. We expect people to use the mount wrapper rather than mount.nfs directly. I don't think we need to fix this, and we should definitely focus on the more important bugs at this stage. It is apparently fixed in RHEL7 anyway (comment #2) and I don't think we need to back port it. |