| Home » General » Support » WORKAROUND - Does AutoFS work in OpenVZ yet? 
	| 
		
			| Re: Does AutoFS work in OpenVZ yet? [message #22091 is a reply to message #22031] | Fri, 19 October 2007 20:10   |  
			| 
				
				
					|  dranch Messages: 33
 Registered: August 2007
 | Member |  |  |  
	| So I spoke too soon about AMD being a viable workaround.
 
 
 Though amd does seem to work for one VE (VE#100) compared to autofs, the other two VEs either show nothing in the user's home directory or get I/O errors:
 
 
 SSHing into VE100:
 --
 Last login: Fri Oct 19 12:39:00 2007 from 10.150.52.4
 
 dolly-centos5-A:~$
 
 [ Everything is ok, I can see my files and mount shows my homedir being mounted:
 
 nfs on /.automount/uranus2/vol/homes/homes2/dranch type nfs  (rw,nosuid,vers=3,rsize=8192,wsize=8192,hard,intr,proto=tcp, timeo=600,retrans=3,sec=sys,addr=uranus2)
 
 --
 
 
 -------------------------------
 
 SSHing into VE101:
 --
 
 Last login: Fri Oct 19 12:32:23 2007 from 10.150.52.4
 -bash-3.1$ ls
 
 [ Nothing.  No files but also no errors. I'm supposedly in /homes/dranch but there is nothing there when I du a "ls", "du", etc.  I can supposedly goto other user directories with the same behavior.   Running mount does NOT show my homedir as being mounted. ]
 
 -------------------------------
 
 SSHing into VE102:
 --
 Last login: Fri Oct 19 12:41:22 2007 from 10.150.52.4
 Could not chdir to home directory /homes/dranch: No such file or directory
 
 [ This is even worse.  I'm dropped to /.  Mount doesn't show my homedir as being mounted.  Nothing in the logs.  No change if I restart amd.  If I shutdown this VE, I see
 --
 Oct 19 12:38:57 dolly-centos5-A sshd[26588]: pam_loginuid(sshd:session): set_loginuid failed opening loginuid
 --
 
 
 ---------------------------
 
 Experimenting a bit, I logged out of the working VE#100 and tried to umount the /homes/dranch directory via the VZ console.  This worked a few times but then later usually failed:
 
 # umount /.automount/uranus2/vol/homes/homes2/dranch/
 umount.nfs: nfs: not found / mounted or server not reachable
 
 At this point, I would see this error upon shutdown of the VE#100:
 
 RPC: failed to contact portmap (errno -5).
 
 
 
 With VE#100 shutdown, I would then try to log into VE#101 to only see I/O errors and mount wouldn't show my homedir being mounted
 --
 Could not chdir to home directory /homes/dranch: Input/output error
 -bash: /homes/dranch/.bash_profile: Input/output error
 --
 
 
 So I now shut down ALL VEs (100, 101, and 102).  I then only restart VE#102 which was the worst off from the above examples.  VE#102 now works fine.
 
 So I start VE#101 to only get the empty directory stuff but no errors.  Finally, I start VE#102 to only see the "/homes/dranch: No such file or directory" errors.  It seems the behavior of the VE depends on the order it's started.  Not good.
 
 So.. there you have it.  AMD does do a bit more compared to AutoFS but overall, things are still broken beyond one VE.
 
 
 Other misc notes:
 
 I've also noticed that when I shut down VEs, I always see this
 in the physical machine's /var/log/messages.  Maybe another hint:
 --
 Oct 19 12:44:12 dolly-centos5-openvz kernel: neigh_parms_release: not found
 --
 
 
 
 |  
	|  |  | 
	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 05:23:29 GMT 2025 
 Total time taken to generate the page: 0.10454 seconds |