Page 1 of 1
problems with creating a NFS snapshot repository
Posted: Wed Jun 12, 2019 7:29 am
by cjsGSB
I can not get my logserver to mount a remote nfs directory. We need to do this to offload our audit records to a different server.
Followed the "Snapshot Repository Considerations" doc. The error I am still getting is :
mount.nfs: access denied by server while mounting X.X.X.X:/auditarchive
Went through the usual issues with mounting NFS - /etc/exports,/etc/host.allow,/etc/hosts.deny.
NagiosLS is running in RHEL 6.9. Would it be better to have a CIFS mount instead of NFS
Re: problems with creating a NFS snapshot repository
Posted: Wed Jun 12, 2019 11:53 am
by scottwilkerson
cjsGSB wrote:Would it be better to have a CIFS mount instead of NFS
You can use either, looks like you are getting an access denied, make sure your NFS server allows access from the Nagios Log Server IP
Re: problems with creating a NFS snapshot repository
Posted: Wed Jun 12, 2019 2:22 pm
by cjsGSB
Yes access is allowed.
Looking in /var/log/messages, there where errors related to:
rpc.mountd:refused mount request from X.X.X.X ------------: illegal port 50001
All I needed to do was edit the /etc/exports file by adding the insecure option:
/mnt *(insecure,ro,sync,no_root_squash)
First time I ran into this type of error, but all is working now
Cheers!
Re: problems with creating a NFS snapshot repository
Posted: Wed Jun 12, 2019 3:47 pm
by scottwilkerson
cjsGSB wrote:Yes access is allowed.
Looking in /var/log/messages, there where errors related to:
rpc.mountd:refused mount request from X.X.X.X ------------: illegal port 50001
All I needed to do was edit the /etc/exports file by adding the insecure option:
/mnt *(insecure,ro,sync,no_root_squash)
First time I ran into this type of error, but all is working now
Cheers!
Great!
Glad it is working now
Locking thread