Bug 132831
Summary: | autofs automounted filesystems inexplicably become unavailable | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Paul Waterman <paulwaterman> |
Component: | autofs | Assignee: | Jeff Moyer <jmoyer> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-24 18:48:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paul Waterman
2004-09-17 15:36:05 UTC
What is the version of the kernel you are using? Please also post the output of lsmod. Thanks! All components on the test system where we're seeing this problem are vanilla RHEL 3.0-U3. Kernel version = 2.4.21-20.ELsmp % lsmod Module Size Used by Tainted: PF sr_mod 17784 0 (autoclean) (unused) ide-cd 34016 0 (autoclean) cdrom 32544 0 (autoclean) [sr_mod ide-cd] vmnet 25376 4 vmmon 42996 14 nfs 99376 10 (autoclean) lockd 58992 1 (autoclean) [nfs] mvfs 309056 119 vnode 76116 119 [mvfs] sunrpc 89212 1 [nfs lockd vnode] autofs 13620 7 (autoclean) audit 90552 3 tg3 65832 1 floppy 57488 0 (autoclean) sg 37228 0 (autoclean) microcode 6848 0 (autoclean) keybdev 2976 0 (unused) mousedev 5624 1 hid 22276 0 (unused) input 6144 0 [keybdev mousedev hid] usb-ohci 23176 0 (unused) usbcore 81056 1 [hid usb-ohci] ext3 89960 2 jbd 55060 2 [ext3] megaraid 30604 3 sd_mod 13712 6 scsi_mod 114344 4 [sr_mod sg megaraid sd_mod] You aren't using the autofs4 kernel module. Please do the following: service autofs stop rmmod autofs service autofs start After that, an lsmod *should* show autofs4. If it doesn't, you can add the following line to your /etc/modules.conf: alias autofs autofs4 Please try this and let me know if the problem persists. Thank you. Ah-hah. The /etc/rc.d/init.d/autofs script for autofs v4 had significant updates to it. We use a customized version of the autofs init script to compute and set localoptions: Using the old autofs (v3) init script loads the wrong autofs module. Looks like we'll have to edit our customizations into the new autofs init script. Does running the autofs4 kernel module fix your problem? You don't specifically say it does. ;) I'm going to keep this open until I get confirmation. If this is a bug, we need to address it. Also, what are the custom changes that you maintain? Perhaps we can get them put into the rpm or upstream if they are applicable to others. -Jeff :) To clarify: With the normal autofs-4.1.3-12 init script, the autofs4 kernel module is properly loaded instead of the autofs kernel module. With the autofs4 kernel module, we no longer experience the problem described initially within this bug. Regarding our customizations: A couple of our customizations are to force our Linux systems to ignore certain legacy NIS automount maps -- these are pretty specific to us (and we may not even need them any more; I'll need to check). The more important customization is that we set the "localoptions" variable ("LOCALOPTIONS" in the v4 script) so that we can mount different filesystems depending on the OS and OS version. Looking at the autofs v4 init script, though, it looks like an improvement has already been made here: LOCALOPTIONS can now be set in /etc/sysconfig/autofs, which means we can maintain that without modifying the autofs init script itself. Okay, then I'll close this bug. Thank you for clarifying. As a side note, there is a feature request for something that sounds like it may work for you. Please take a look at bz #91559: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91559 If that sounds like what you need, please let me know. Multiple people requesting a feature bumps it up on my list. Thanks! |