GitHub user nvazquez opened a pull request:
https://github.com/apache/cloudstack/pull/1361
Support configurable NFS version for Secondary Storage mounts
JIRA Ticket: https://issues.apache.org/jira/browse/CLOUDSTACK-9252
### Description of the problem
After starting secondary storage VM, secondary storage tries to be mounted
but fails with error: <code>Protocol family not supported</code>
It was found out that adding <code>-o vers=X</code> to mount command it
would work, where <code>X</code> is the desired NFS version to use.
If it is desired to mount a store with a specific NFS version, it has
passed in <code>image_store_details</code> table for a store with id
<code>Y</code> as a property:
| store_id| name| value |
|:-------------:|:-------------:|:-------------:|
|Y|nfs.version|X (e.g. 3)|
Where X stands for NFS version
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nvazquez/cloudstack bothgoals
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1361.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1361
----
commit 15745be426b474b75ae61a6226a8982029c345ca
Author: nvazquez <[email protected]>
Date: 2016-01-22T18:39:47Z
CLOUDSTACK-9252: Add nfs version to commands
commit 59631a94b86fbeac9d836943ae4450ea1b407da1
Author: nvazquez <[email protected]>
Date: 2016-01-22T18:41:23Z
CLOUDSTACK-9252: Support configurable nfs version
----
---
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.
---