| 
		
			| Re: Does AutoFS work in OpenVZ yet? [message #22024 is a reply to message #22023] | Thu, 18 October 2007 18:58   |  
			| 
				
				|  |  dowdle Messages: 261
 Registered: December 2005
 Location: Bozeman, Montana
 | Senior Member |  |  |  
	| From the kernel version that was given, I'm certain a stock CentOS 5 kernel is in use.  He said make sure the autofs module is loaded... and all of that output you gave did not include a module listing. 
 I previously thought that autofs wasn't a kernel related process but if there is a module, looks like it is.
 
 lsmod | grep auto
 
 If you don't see the autofs4 module, load it... and bingo it might work.
 
 I can tell you nfs doesn't work unless the nfs related modules are loaded.
 
 I've had some problems getting depmod/modprobe figuring out the dependancies of modules and automatically loading everything as they should... so when that happened, I manually loaded all of the pieces myself with insmod.  At the very least here is the module you want loaded:
 
 /lib/modules/2.6.18-8.1.14.el5/kernel/fs/autofs4/autofs4.ko
 
 Of course depending on the arch you have, the kernel version number directory might be a little different.
 
 --
 TYL, Scott Dowdle
 Belgrade, Montana, USA
 |  
	|  |  |