[
https://issues.apache.org/jira/browse/CLOUDSTACK-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112860#comment-15112860
]
ASF GitHub Bot commented on CLOUDSTACK-9252:
--------------------------------------------
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
----
> Support configurable NFS version for Secondary Storage mounts
> -------------------------------------------------------------
>
> Key: CLOUDSTACK-9252
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9252
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: VMware
> Reporter: Nicolas Vazquez
>
> After starting secondary storage VM, secondary storage tries to be mounted
> but fails with error: {{Protocol family not supported}}
> It was found out that adding {{-o vers=X}} to mount command it would work,
> where {{X}} is the desired NFS version to use.
> If it is desired to mount a store with a specific NFS version, it has passed
> in {{image_store_details}} table for a store with id {{Y}} as a property:
> ||store_id||||name||value||
> |Y|nfs.version|X|
> Where X stands for NFS version
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)