View Issue Details

IDProjectCategoryView StatusLast Update
0016279CentOS-7systemdpublic2019-08-15 18:27
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016279: NFS client mount fails on booting
DescriptionWe have NFS server and a NFS client, when CentOS based instance start-stop-start sometimes NFS mounting fails which stops instance from coming online since mounts are necessary. Same instance can work after manual stop-start!

Analysis revealed that, CentOS doesn't wait for network to come online and tries to mount the NFS mounts before that which then fails and creates problem. Not sure if you guys could help with this but it is troubling us a lot.
Steps To Reproduce1. NFS server on CentOS
2. NFS clients (CentOS) w/ couple of NFS mount entries in /etc/fstab
3. autoscaling like poweron/off of NFS clients in continuos fashion may reproduce this issue
Additional InformationAWS guys have already investigated logs and suggested to contact CentOS developers for fix or suggestions on this.
Tagscentos, cloud-init




2019-07-18 17:05

reporter   ~0034842

Attached system boot logs for same instance when it failed to mount NFS and then after manual stop+start, on successessful boot & NFS mounted system boot logs for reference.


2019-07-18 17:05

reporter   ~0034843

~]$ cat /etc/fstab

UUID=ef6ba050-6cdc-416a-9380-c14304d0d206 / xfs defaults 0 0
/dev/xvdb /mnt auto defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig 0 2 /nfs/appweb-data nfs rw,_netdev,vers=3,rsize=32768,wsize=32768,intr,noatime,nolock 0 0

Note: ",_netdev" option in fstab on client side seems ineffective...

~]$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

Issue History

Date Modified Username Field Change
2019-07-18 17:05 techqnq New Issue
2019-07-18 17:05 techqnq Issue generated from: 0016276
2019-07-18 17:05 techqnq Note Added: 0034842
2019-07-18 17:05 techqnq Note Added: 0034843
2019-07-18 22:29 techqnq Tag Attached: cloud-init
2019-07-18 22:30 techqnq Tag Attached: centos