I'm trying to install and configure an OpenAFS server inside an OpenVZ container. However, when running afs-newcell, it complains that the AFS client cannot be started. It says "AFS module /lib/modules/2.6.32-5-openvz-amd64/fs/openafs.o does not exist."
In the host, I installed openafs-modules-2.6.32-5-openvz-amd6 (from MIT). Doing lsmod | grep afs on host works, and show that openafs module is loaded. Doing the same in the guest doesn't show the module.
I understand that modprobe cannot be run inside a container for stability and security reason, but is there any way of "sharing" some module with a specified guest?