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" <[email protected]>
To: "Rohit Yadav" <[email protected]>, [email protected]
Cc: [email protected]
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:[email protected]]
Sent: Friday, May 08, 2015 5:57 PM
To: [email protected]
Cc: [email protected]; srinivas niddapu
Subject: Re: Unable to mount Secondary Storage on SSVM
On 08-May-2015, at 2:05 pm, anil lakineni <[email protected]>
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 | [email protected]
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.