OpenVZ Forum


Home » General » Support » WORKAROUND - Does AutoFS work in OpenVZ yet?
Re: Does AutoFS work in OpenVZ yet? [message #22753 is a reply to message #22092] Fri, 02 November 2007 18:29 Go to previous messageGo to previous message
dranch is currently offline  dranch
Messages: 33
Registered: August 2007
Member
Workaround:

Woohoo! I have been working with "gblond" on this issue for some time and through the various troubleshooting, I discovered a workaround that works though we are still working on the root problem.

Specifically, with:

- the RHEL5 kernel with OpenVZ patches (2.6.18-8.1.15.el5.028stab047.1) -- no need for a vanilla kernel patched with OpenVZ

- autofs running on the HE

- amd running in the VEs (autofs doesn't work still -- bummer and thus requires cron scripts in each VE to periodically update the various maps and restart amd)


I am now able to boot the VEs and users see all their files if I do the following:


1. disable OpenVZ from automatically starting in rc3.d

2. in the rc.local file, do an "ls" of some user that is only reachable via the automounter system. This seems to kick off the NFS system in the HE properly where as it DOESN'T kick off in the VEs properly. You will see the FS caching system kick off in the logs which is critical
--
FS-Cache: Loaded
FS-Cache: netfs 'nfs' registered for caching
--

3. In the rc.local file, now wait 20 seconds

4. In the rc.local file, now start openvz


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cannot access /proc/bus/pci
Next Topic: Fedora Core 2 Template?
Goto Forum:
  


Current Time: Fri Mar 29 12:44:25 GMT 2024

Total time taken to generate the page: 0.01835 seconds