|Unable to get /proc/swaps file in vz [message #37078]
||Mon, 17 August 2009 18:12
Registered: August 2009
I would like to know if anyone get the same problem than me. Even if I active the swap (with vzctl set id --meminfo none --save), I never have the /proc/swaps in my vz. (The original problem is that I need it for Oracle). However, the command free -m showed me the good swap info. How could I solve that problem ?
Kernel: 2.6.24-24-openvz (also tried with 2.6.24-17-openvz)
vzctl version: 3.0.22 (also tried with 3.0.23)
A test that I made:
sudo vzctl create 203 --ostemplate ubuntu-8.04-amd64-minimal --hostname test
sudo vzctl set 203 --meminfo none --save
sudo vzctl start 203
Result: no /proc/swaps file.
Let me know if you need more info.