Disregard my previous message, i see its already done.

Try mounting it in the shell of SSVM by hand. If fails, disable iptables and try again. Also check the routing table to make sure all is proper.

Like Andrei mentioned you may need it to be NFSv3 compatible as it will make use of no_root_squash (which must also be enabled on your share).

Regards
ilya

On 5/9/15 1:46 PM, ilya wrote:
Make sure that management network/range of IPs that VM and Storage Network (if you have one), is whitelisted as NFS access clients on the export.

If that fails, try also adding public ip range to see if that helps - as a test.

Regards
ilya
On 5/8/15 6:50 AM, Andrei Mikhailovsky wrote:
Srini,

you need to make sure the nfs server is configured properly to allow access from SSVM, as you can see, the access is denied. please check that the nfs server supports the same protocol version as ssvm is requesting. Most likely, it's nfs v3.

Check logs on the nfs server to verify why it is denying access.

Once this is fixed, you should be good to go.

Andrei

----- Original Message -----
From: "srinivas niddapu" <sr...@axiomio.com>
To: "Rohit Yadav" <rohit.ya...@shapeblue.com>, dev@cloudstack.apache.org
Cc: us...@cloudstack.apache.org
Sent: Friday, 8 May, 2015 2:03:10 PM
Subject: RE: Unable to mount Secondary Storage on SSVM

Appreciated info Rohit.

As we verified our NFS storage there is no permission restrictions (* FULL ACCESS). Validated the same NFS share on the Cloud Stack Hypervisors, already mounted and data visible.

We try to mount the NFS volume in the SSVM manually but its throwing error. Unable to mount.
"mount.nfs: access denied by server while mounting"

While restoring snapshot in the CloudStack UI getting below error.

Status
Failed to create templatecom.cloud.utils.exception.CloudRuntimeException: GetRootDir for nfs://172.30.36.51/vS02304090GCSP_NAS07 failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to mount 172.30.36.51:/vS02304090GCSP_NAS07 at /mnt/SecStorage/1c7f122c-e72e-3daa-a54a-3693b89d4015 due to mount.nfs: access denied by server while mounting 172.30.36.51:/vS02304090GCSP_NAS07 at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1956) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfsXenserver(NfsSecondaryStorageResource.java:377) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfs(NfsSecondaryStorageResource.java:444) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.createTemplateFromSnapshot(NfsSecondaryStorageResource.java:553) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:632) at org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:236) at com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:63) at com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:59) at com.cloud.agent.Agent.processRequest(Agent.java:498) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)

Any suggestions.

Thanks,
Srini.

-----Original Message-----
From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com]
Sent: Friday, May 08, 2015 5:57 PM
To: dev@cloudstack.apache.org
Cc: us...@cloudstack.apache.org; srinivas niddapu
Subject: Re: Unable to mount Secondary Storage on SSVM


On 08-May-2015, at 2:05 pm, anil lakineni <anilkumar459.lakin...@gmail.com> wrote:

and this Secondary Storage path is mounting and working with all other
servers except with SSVM.. Getting error  "mount.nfs: access denied by
server while mounting xx.xx.xx.xx:/xxxx"
Check your nfs exports file and do a chmod 777 on the mount points, such as /export/secondary or /export/primary.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Reply via email to