Github user rafaelweingartner commented on the pull request:
https://github.com/apache/cloudstack/pull/1361#issuecomment-174177981
Hi @ nvazquez,
Are you sure that the problem is caused because we are not telling the NFS
protocol version to the mount command?
If you a look at the doc in [1] and [2], you will see that if we do not
provide a NFS protocol version to be used, it (the mount program) will first
try version 4, then 3, and version 2 as the last one.
If the default behavior of mount is to try every possible protocol
available, I do not see why we need to add some extra code to enable us to
specify one.
Wasnât your problem caused by something else?
[1] http://man7.org/linux/man-pages/man8/mount.8.html
[2] http://man7.org/linux/man-pages/man5/nfs.5.html#MOUNT_OPTIONS
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---