[nfs] Fix the nfs related errors
* intr parameter is now deprecated and it's no longer effective in newer kernels * nfs-server needs to run as well on Fedora otherwise the mount request is rejected
This commit is contained in:
parent
3fc124f048
commit
be2e3a6d35
2 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@
|
|||
name=/mnt/fedora_koji
|
||||
src=10.16.167.64:/mnt/fedora_koji
|
||||
fstype=nfs4
|
||||
opts=rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4
|
||||
opts=rw,hard,bg,noatime,nodev,nosuid,nfsvers=4
|
||||
passno=0
|
||||
dump=0
|
||||
state=mounted
|
||||
|
@ -96,7 +96,7 @@
|
|||
name=/mnt/fedora_koji_prod
|
||||
src=ntap-rdu3-c02-fedora01-nfs01a.neta-002.prod.rdu2.dc.redhat.com:/fedora_koji
|
||||
fstype=nfs
|
||||
opts=ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3
|
||||
opts=ro,hard,bg,noatime,nodev,nosuid,nfsvers=3
|
||||
passno=0
|
||||
dump=0
|
||||
state=mounted
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
service: name={{ item }} enabled=true state=started
|
||||
with_items:
|
||||
- rpc-statd
|
||||
- nfs-server
|
||||
when: ansible_distribution == 'Fedora'
|
||||
tags:
|
||||
- nfs/server
|
||||
|
@ -29,7 +30,6 @@
|
|||
with_items:
|
||||
- rpcbind
|
||||
- nfs-server
|
||||
when: ansible_distribution == 'RedHat'
|
||||
tags:
|
||||
- nfs/server
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue