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
problems with creating a NFS snapshot repository
-
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
You can use either, looks like you are getting an access denied, make sure your NFS server allows access from the Nagios Log Server IPcjsGSB wrote:Would it be better to have a CIFS mount instead of NFS
Re: problems with creating a NFS snapshot repository
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!
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
Great!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!
Glad it is working now
Locking thread