autofs in VE under Lenny [message #32495] |
Tue, 12 August 2008 20:11 |
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.
|
|
|
|
|