Article ID: 117790, created on Oct 8, 2013, last review on Oct 8, 2013

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux

Symptoms

After migration, the os template was not listing:

root@vznode7 ~ # vzpkg list 333
Error: OSTEMPLATE is not set for CT 333

Cause

The contaienr file system was simfs prior to migration and the OS template is not mentioned in container configuration file:

root@vznode7 ~ # grep -i os /vz/private/333/ve.conf
root@vznode7 ~ #

Resolution

  1. Add information about filesystem in configuration file:

    root@host ~ # cat /vz/private/333/ve.conf | grep -i ostemplate
    OSTEMPLATE=".centos-5-x86_64"
    
  2. Link VERSION file:

    root@host /vz/private/333 # rm -rf fs/VERSION
    root@host /vz/private/333 # ln -s 005.004 fs/VERSION
    root@host /vz/private/333 # ls -al
    

After these actions vzpkg list should work correctly:

    root@host ~ # vzpkg list 333
    centos-5-x86

Search Words

Error: OSTEMPLATE ,

Unknown VEFORMAT simfs

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF