OpenVZ Forum


Home » General » Support » autofs in VE under Lenny
autofs in VE under Lenny [message #32495] Tue, 12 August 2008 20:11 Go to next message
tallen is currently offline  tallen
Messages: 2
Registered: August 2008
Junior Member
I am using openvz under Lenny, kernel 2.6.24-6-fza-amd64 and vzctl version 3.0.22 from the openvz.org/debian-systs lenny repo. Under etch, autofs worked, but it has not worked since I upgraded to Lenny. NFS still works, but I would really like the VEs to unmount their filesystems when not in use (which is >99% of the time). Has anyone else experienced same/solved it?

Things seem to work fine, the daemon starts, does not complain, but when I try to 'ls /imports/home' the command hangs. Eventually (couple minutes later) I press ctrl-c and get:

ls: /imports/home: No such file or directory

Both status and portmapper are running according to the output of rpcinfo -p. "autofs" is listed in /proc/filesystems. The VE is running Dapper, although I've verified this same problem on Ubuntu 8.04 Hardy Heron VE on Ubuntu 8.04 Hardy Heron HWN.

I see logs like:
Aug 12 15:54:35 tiler2 automount[1145]: mount(nfs): mkdir_path /imports/home failed: No such file or directory
Aug 12 15:54:35 tiler2 automount[1145]: failed to mount /imports/home

/imports is valid, and /proc/mounts shows:
automount(pid1105) /imports autofs rw,fd=4,pgrp=1105,timeout=60,minproto=2,maxproto=4,indirect 0 0

...which seems correct. After the VE attempts to mount something, "ls /" begins to hang as well, and the VE must be restarted.
Re: autofs in VE under Lenny [message #32515 is a reply to message #32495] Wed, 13 August 2008 01:42 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I guess the best course of action is to file a bug to http://bugzilla.openvz.org/

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: autofs in VE under Lenny [message #32537 is a reply to message #32515] Thu, 14 August 2008 13:52 Go to previous message
tallen is currently offline  tallen
Messages: 2
Registered: August 2008
Junior Member
Opened bug 959,

http://bugzilla.openvz.org/show_bug.cgi?id=959


Previous Topic: DRBD + 2.6.24
Next Topic: numsiginfo resource growing
Goto Forum:
  


Current Time: Tue Nov 05 22:17:38 GMT 2024

Total time taken to generate the page: 0.03492 seconds