| Home » General » Support » WORKAROUND - Does AutoFS work in OpenVZ yet? 
	| 
		
			| Re: Does AutoFS work in OpenVZ yet? [message #22031 is a reply to message #21840] | Fri, 19 October 2007 01:49   |  
			| 
				
				
					|  dranch Messages: 33
 Registered: August 2007
 | Member |  |  |  
	| So following efball's recommendation, I installed the patched 2.6.18 vanilla kernel and converted the VPS machines from autofs to amd.  Low and behold this WORKS!  Awesome but the solution is less than optimal and I really still need to get autofs working. 
 Why?
 
 1) This workaround uses a plain 2.6.18 kernel and not the centos5 2.6.18 kernel.  Centos and RHEL offer, in theory, a more regressed and stable kernel platform which receives timely patches via yum, etc.
 
 
 2) The NIS servers I bind to offer autofs formatted maps which are incompatible with amd's format.  I found the following Perl script which mostly converts the two formats but this isn't an automatic process, the script needs some minor tweaks to create 100% clean AMD maps, etc.
 
 http://groups.google.com/group/comp.unix.bsd.freebsd.misc/br owse_thread/thread/83b4855b95148f8/d0414ce35e72e474?hl=en&am p;lnk=st&q=convert+autofs+nis+maps+to+amd#d0414ce35e72e4 74
 
 
 My biggest issue with this autofs -> amd approach is that I'll need to put this Perl script into a crontab to get updates for new/deleted users,  changed filers, etc.  I'll also have to automate the updating of the /etc/amd.conf file whenever any automounter maps are changed (new maps, deleted, etc).  All of these items are automatic with autofs and it's auto.master file.
 
 
 As a test to keep things moving with getting the Autofs problem identified and hopefully fixed, I again tried to use the patched Centos5 kernel with this known working AMD setup but the VPS fails with different errors than before:
 
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: switched to logfile "syslog"
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: AM-UTILS VERSION INFORMATION:
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Copyright (c) 1997-2006 Erez Zadok
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Copyright (c) 1990 Jan-Simon Pendry
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Copyright (c) 1990 Imperial College of Science, Technology & Medicine
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Copyright (c) 1990 The Regents of the University of California.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: am-utils version 6.1.5 (build 1).
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Report bugs to https://bugzilla.am-utils.org/ or am-utils@am-utils.org.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Configured by mockbuild@builder6.centos.org on date Wed Mar 21 22:12:34 EDT 2007.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Built by mockbuild@builder6.centos.org on date Wed Mar 21 22:14:35 EDT 2007.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: cpu=i686 (little-endian), arch=i386, karch=i686.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: full_os=linux, os=linux, osver=2.6.9-42.0.3.ELsmp, vendor=redhat, distro=rh4.92.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: domain=spglab.juniper.net, host=dolly-centos5-A, hostd=dolly-centos5-A.dude.net.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Map support for: root, passwd, hesiod, ldap, union, nisplus, nis, ndbm,
 Oct 18 18:32:34 dolly-centos5-A amd[9711]:               file, exec, error.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: AMFS: nfs, link, nfsx, nfsl, host, linkx, program, union, ufs, lofs,
 Oct 18 18:32:34 dolly-centos5-A amd[9711]:       cdfs, auto, direct, toplvl, error, inherit.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: FS: iso9660, lofs, nfs, nfs3, tmpfs, ext3.
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Network 1: wire="dolly-centos5-a.spglab.juniper.net" (netnumber=10.159.4.232).
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: Network 2: wire="1.0.0.0" (netnumber=1).
 Oct 18 18:32:34 dolly-centos5-A amd[9711]: My ip addr is 127.0.0.1
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: released controlling tty using setsid()
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: file server localhost, type local, state starts up
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: simfs restarted fstype link on /, flags 0x89
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: proc restarted fstype link on /proc, flags 0x89
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: sysfs restarted fstype link on /sys, flags 0x89
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: devpts restarted fstype link on /dev/pts, flags 0x89
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: creating mountpoint directory '/home-adp'
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: creating mountpoint directory '/adpdev'
 Oct 18 18:32:34 dolly-centos5-A amd[9719]: '/home-adp': mount: No such device
 Oct 18 18:32:34 dolly-centos5-A amd[9720]: '/adpdev': mount: No such device
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: creating mountpoint directory '/local'
 Oct 18 18:32:34 dolly-centos5-A amd[9721]: '/local': mount: No such device
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: creating mountpoint directory '/homes'
 Oct 18 18:32:34 dolly-centos5-A amd[9722]: '/homes': mount: No such device
 Oct 18 18:32:34 dolly-centos5-A amd[9718]: creating mountpoint directory '/vols'
 Oct 18 18:32:34 dolly-centos5-A amd[9723]: '/vols': mount: No such device
 Oct 18 18:32:34 dolly-centos5-A init: no more processes left in this runlevel
 Oct 18 18:32:35 dolly-centos5-A amd[9719]: '/home-adp': mount: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9719]: amfs_toplvl_mount: amfs_mount failed: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9720]: '/adpdev': mount: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9720]: amfs_toplvl_mount: amfs_mount failed: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9721]: '/local': mount: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9721]: amfs_toplvl_mount: amfs_mount failed: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9722]: '/homes': mount: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9722]: amfs_toplvl_mount: amfs_mount failed: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9723]: '/vols': mount: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9723]: amfs_toplvl_mount: amfs_mount failed: No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9718]: /home-adp: mount (amfs_cont): No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9718]: /adpdev: mount (amfs_cont): No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9718]: /vols: mount (amfs_cont): No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9718]: /homes: mount (amfs_cont): No such device
 Oct 18 18:32:35 dolly-centos5-A amd[9718]: /local: mount (amfs_cont): No such device
 
 
 
 |  
	|  |  | 
	Goto Forum:
	|  |  | WORKAROUND - Does AutoFS work in OpenVZ yet? By: dranch  on Fri, 12 October 2007 16:20 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: efball  on Tue, 16 October 2007 20:51 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Wed, 17 October 2007 04:58 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Wed, 17 October 2007 15:50 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: efball  on Wed, 17 October 2007 18:00 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Wed, 17 October 2007 20:04 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: efball  on Wed, 17 October 2007 20:36 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Fri, 19 October 2007 01:49 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Fri, 19 October 2007 20:10 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Fri, 19 October 2007 20:53 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Fri, 02 November 2007 18:29 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dowdle  on Wed, 17 October 2007 20:55 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Wed, 17 October 2007 21:14 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dowdle  on Wed, 17 October 2007 22:47 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Wed, 17 October 2007 23:37 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: gblond  on Thu, 18 October 2007 14:41 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Thu, 18 October 2007 18:51 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dowdle  on Thu, 18 October 2007 18:58 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Thu, 18 October 2007 22:42 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dowdle  on Fri, 19 October 2007 11:33 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: gblond  on Fri, 19 October 2007 08:34 |  
	|  |  | Re: Does AutoFS work in OpenVZ yet? By: dranch  on Fri, 19 October 2007 16:25 |  
 
 Current Time: Fri Oct 31 11:03:36 GMT 2025 
 Total time taken to generate the page: 0.10072 seconds |