OpenVZ Migration Hostnode Containers from Centos 5 to Centos 6 -

OpenVZ Migration Hostnode Containers from Centos 5 to Centos 6

migrating from an old OpenVZ (Centos 5) to new OpenVZ (Centos 6)
Also if migrating from 32-bit HN to 64-bit your RAM will probably be much bigger than it should be!
16x bigger

eg. 32bit HN:

             total       used       free     shared    buffers     cached
Mem:           256         16        239          0          0          0
-/+ buffers/cache:         16        239
Swap:            0          0          0


eg. 64bit HN with same config:


free -m
             total       used       free     shared    buffers     cached
Mem:          3906         42       3863          0          0         33
-/+ buffers/cache:          9       3897
Swap:        28614          0      28614



Error: required UB parameter swappages not set

 vzctl start 27000
Starting container...
Error: required UB parameter swappages not set
Saving VE layout 'simfs' to the VE config file
CT configuration saved to /etc/vz/conf/27000.conf
[root@server18 conf]# vzlist
Container(s) not found
[root@server18 conf]# vzctl start 27000
Starting container...
Error: required UB parameter swappages not set

vzctl set 27000 --swappages 0:unlimited --save

 vzctl set 27000 --swappages 0:unlimited --save
CT configuration saved to /etc/vz/conf/27000.conf
[root@server18 conf]# vzctl start 27000
Starting container...
stat(/vz/root/27000): No such file or directory
stat(/vz/root/27000): No such file or directory
stat(/vz/root/27000): No such file or directory
Initializing quota ...
Container is mounted
Adding IP address(es): 98.158.135.57 98.158.135.58
Setting CPU units: 1000
Setting devices
Container start in progress...


  • wget how to resume download!
  • strange vi errors in Linux Mint/Ubuntu line 58: E488: Trailing characters: t_Sbet line 63: E171: Missing :endif
  • MySQL Add multiple IPs for remote user including root howto
  • cPanel error Access denied for user 'root'@'localhost' when adding remote MySQL IP address solution
  • Text Editors - Top Linux Ubuntu/Debian/Mint Options
  • Linux shows my drive as being dead is it really? Buffer I/O error on device sdb, logical block 0 sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
  • use ffmpeg to watermark videos if mencoder/bmovl fail
  • mencoder bmovl error vf_bmovl: Unknown command: ''. Ignoring.
  • Linux Mint/Ubuntu/Debian Nvidia driver becomes slow graphics performance issue
  • Linux Mint missing ffmpeg solution to install from Ubuntu PPA
  • phpBB3 slow and internal dummy connection
  • check if Apache uses worker MPM or prefork MPM
  • text to speech for Linux
  • How to convert xlsx/xls Excel file into csv
  • Linux bash script how to generate a random password using /dev/urandom
  • ssh forward multiple ports in the same connection and command even works with NAT!
  • How to create openssl md5 password hash to use in /etc/shadow using bash
  • Avocent DSR8020 KVM/IP - Network Connect Error - Solution
  • PHP Parse error: syntax error, unexpected '[' in phpBB3/vendor/react/promise/src/functions.php on line 15
  • tar extraction changes ownership of /root directory