The kernel caches based on inode number. If you modified the caching part of the module then I may be incorrect in my thinking. Take example:

# ls -ai /vz/private/1/root/bin/ls
41361462 /vz/private/1/root/bin/ls
# ls -ai /vz/template/redhat-as3-minimal/coreutils-4.5.3-26/bin/ls
1998864 /vz/template/redhat-as3-minimal/coreutils-4.5.3-26/bin/ls
# ls -ai /vz/root/1/bin/ls
41361462 /vz/root/1/bin/ls


This may actually be an error. This new info was on a linked file (using templates). I tried on a VPS that has broken the link and found this:

# ls -ali /vz/private/101/root/bin/ls
245325878 -rwxr-xr-x 1 root root 67700 Sep 29 11:42 /vz/private/101/root/bin/ls
# ls -ali /vz/root/101/bin/ls
245325878 -rwxr-xr-x 1 root root 67700 Sep 29 11:42 /vz/root/101/bin/ls

Or - the third thought is that we are better off not using the CoW/vzfs part of Virtuozzo at all and OpenVZ is a more scalable alternative to Virtuozzo.
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to