John,

Have you set the global settings parameter secstorage.nfs.version?

I had to set it as 3 for my environment as NFS4 isn’t used yet.  However, I’m 
using an external storage system, not KVM as the NFS host.

Mike

From: John <[email protected]>
Sent: Thursday, July 8, 2021 7:54 AM
To: [email protected]
Subject: NFS Error Ubuntu 20.4

We are having some issues with the latest CS 4.15.1 which we never had before.

We are using the following:-
Ubuntu 20.4
CS 4.15.1

NFS is on the same host as the KVM server.
We can mount the /export/secondary directory successfully from the management 
host.
But when CS tries to mount it we get this error is the management log.

Unable to mount XXX.XXX.XXXX:/export/secondary at 
/mnt/SecStorage/4891ed6e-23b4-3b63-a190-1298ce00ed8d due to mount.nfs: access 
denied by server while mounting XXX.XXX.XXXX:/export/secondary

Further, as we are using the KVM host as the NFS server do we need to install 
NFS on the management host as well as the KVM host ?

Here is some further logs which may assist.

2021-07-08 11:36:48,252 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) 
(logid:) Seq 2-5813865643958599684: Processing:  { Ans: , MgmtId: 
148407405838237, via: 2, Ver: v1, Flags: 110, 
[{"com.cloud.agent.api.Answer":{"result":"false","details":"com.cloud.utils.exception.CloudRuntimeException:
 GetRootDir for 
nfs://XX.XX.XX.XX/export/secondary<http://XX.XX.XX.XX/export/secondary> failed 
due to com.cloud.utils.exception.CloudRuntimeException: Unable to 
mountXX.XX.XX.XX:/export/secondary at 
/mnt/SecStorage/4891ed6e-23b4-3b63-a190-1298ce00ed8d due to mount.nfs: parsing 
error on 'vers=' option

Any tips would be helpful.

Sent with ProtonMail<https://protonmail.com/> Secure Email.

Reply via email to