cache:none and IO native settings are not propagated into actual config for file-based KVM VPS

Applicable to:

  • SolusVM

Symptoms 

KVM settings cache:none and IO native settings are not propagated into actual config for file-based KVM VPS:

# virsh dumpxml kvm121 | grep native
#

It should be like this:

# virsh dumpxml kvm121 | grep native
<driver name='qemu' type='raw' cache='none' io='native'/>

Native IO parameter enabled via /usr/local/solusvm/data/kvm-io-native flag on KVM slave node

Cause

Such behavior caused by SolusVM bug #SVM-2965

Resolution

Thin-provisioning is an experimental feature and lacks of functionality. It is recommended to use LVM storage devices.

Until fix become available use the following steps as a workaround:

  1. Access SolusVM web interface and browse to VPS management page
  2. Click on Custom Config to access custom config page
  3. Copy content of Live Config field and paste it into custom config field
  4. In custom config field change disk driver as below:

    Before

    CONFIG_TEXT: <driver name='qemu' type='raw'/>

    After

    CONFIG_TEXT: <driver name='qemu' type='raw' cache='none' io='native'/>

  5. Tick Enable Custom Config checkbox and click on Save & Reboot button

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.