Hi Mauro, Can you try setting the following global setting value: secstorage.nfs.version to the specific version and then add the store. Furthermore, NFSv4 requires that domain setting matches on all clients.Hence, the /etc/idmapd.conf file must be accordingly updated. Please refer to :
http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html#nfs Thanks, Pearl ________________________________ From: Hean Seng <[email protected]> Sent: Monday, September 21, 2020 9:50 PM To: [email protected] <[email protected]>; [email protected] <[email protected]> Subject: Re: NFS 4 and secondary storage You can try manual mount it at linux see if can or not On Mon, Sep 21, 2020 at 10:30 PM Mauro Ferraro - G2K Hosting < [email protected]> wrote: > Hi guys, > > we are trying to set up a secondary storage with NFS 4 and we get an > error.: > > > DEBUG [c.c.a.t.Request] (AgentManager-Handler-1:null) (logid:) Seq > 9-9189032089696076679: Processing: { Ans: , MgmtId: 90520732656511, > via: 9, Ver: v1, Flags: 10, > [{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException: > > *GetRootDir for nfs://10.0.254.12/mnt/secondary failed due to > com.cloud.utils.exception.CloudRuntimeException: Unable to mount > 10.0.254.12:/mnt/secondary at > /mnt/SecStorage/89cfc424-4510-3484-aee4-cda5d7029238 due to mount.nfs: > requested NFS version or transport protocol is not supported*\n\tat > org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:2458)\n\tat > > org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:2208)\n\tat > > org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:292)\n\tat > > com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:64)\n\tat > > com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:60)\n\tat > > com.cloud.agent.Agent.processRequest(Agent.java:644)\n\tat > com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1057)\n\tat > com.cloud.utils.nio.Task.call(Task.java:83)\n\tat > com.cloud.utils.nio.Task.call(Task.java:29)\n\tat > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat > > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat > > java.base/java.lang.Thread.run(Thread.java:834)\n","wait":0}}] } > > There is a way to force NFS version 4 in ACS?. > > Thanks > > M > > -- Regards, Hean Seng [email protected] www.shapeblue.com 3 London Bridge Street, 3rd floor, News Building, London SE1 9SGUK @shapeblue
