problems with creating a NFS snapshot repository

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
cjsGSB
Posts: 18
Joined: Mon Apr 08, 2019 11:34 am

problems with creating a NFS snapshot repository

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: problems with creating a NFS snapshot repository

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cjsGSB
Posts: 18
Joined: Mon Apr 08, 2019 11:34 am

Re: problems with creating a NFS snapshot repository

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: problems with creating a NFS snapshot repository

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked