Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionSal Castiglione
2016-03-23 14:12:18 UTC
Description of problem:
netfs service does not start prior to the network service - so NFS mounts in /etc/fstab do not automatically mount during startup
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. configure NFS share in /etc/fstab
2. mount NFS share manually or do a "mount -a" - confirm share is mounted
3. reboot - confirm share didn't mount at startup
Actual results:
NFS share not mounted after startup
Expected results:
NFS share mounted
Additional info:
- netfs is set to on for run level 3:
# chkconfig --list netfs
netfs 0:off 1:off 2:off 3:on 4:off 5:off 6:off
- Looks like a bug in the order of which files are being read:
/etc/rc3.d/S10network is being read after /etc/rc3.d/K75netfs, because files are being read alphabetically (as far as I know?).
In theory, K75netfs should come after the network is already started - but it's not because the files are being read alphabetically - perhaps it should be renamed ?
Comment 3David Kaspar // Dee'Kej
2016-11-10 09:42:32 UTC
Hello,
are you sure you are using RHEL6 with default configuration to reproduce this? Because I see a different configuration for RHEL-6.9-Beta:
[0 root@qeos-221 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.9 Beta (Santiago)
[0 root@qeos-221 ~]# chkconfig --list nfs
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[0 root@qeos-221 ~]# chkconfig --list netfs
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
Also, I see different values for *K* (kill) and *S* (start) scripts [yes, they are evaluated alphabetically for each /etc/rc*.d folder].
Typically, you need to configure the NFS mounting correctly. Right now, I'm sure that automounting in RHEL6 works in case you have the NFS share on the same machine (IOW, RHEL6 mounts one of its folders to a different local folder at the same machine).
I guess the problem for you is that network initialization is not fast enough for NFS to mount network shared folder automatically, but that is not a bug.
There's no reason to wait during boot for network to initialize properly, because network problems could delay the boot-up process significantly.
Please, refer to Red Hat Enterprise Linux Documentation on how to correctly configure NFS mounts:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch-nfs.html#s1-nfs-how
You might be especially interested in section 'autofs', which is a typical way to automatically mount network shared folders:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/nfs-autofs.html
I hope this will help.
Best regards,
David