On 03/06/2014 01:29 PM, Matt wrote:
# To check if modules are loaded
lsmod | grep vzcpt
lsmod | grep vzrst
# To load modules
depmod vzcpt ; depmod vzrst
How to have them loaded in the future? That last command should take care of
it I believe.
Yes, I was asking how to make sure they are loaded after reboot.
Still having bit of an issue.
# cd /lib/modules/2.6.32-042stab084.20/kernel/kernel/cpt/
# ls -la
total 604
drwxr-xr-x 2 root root 4096 Feb 5 16:18 .
drwxr-xr-x 5 root root 4096 Feb 5 16:18 ..
-rwxr--r-- 1 root root 255560 Jan 26 15:19 vzcpt.ko
-rwxr--r-- 1 root root 350376 Jan 26 15:19 vzrst.ko
# depmod vzcpt ; depmod vzrst
FATAL: modules must be specified using absolute paths.
"vzcpt" is a relative path
FATAL: modules must be specified using absolute paths.
"vzrst" is a relative path
I am thinking that I must specify the full path to vzcpt.ko but wont
that change with each kernel release?
You need to use modprobe
modprobe vzcpt
modprobe vzrst
Also, vz initscript (/etc/init.d/vz) should load these, but I have seen
cases when it doesn't -- still can't figure out why though.
_______________________________________________
Users mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/users