Page 1 of 1

Change disk caching to writethrough for TIMOS VMs

Posted: Tue Oct 29, 2019 4:55 pm
by steve71
We had a system crash of EVE-NG PRO last night after 10 months of uptime (don't know the cause but it appears to have been at the Ubuntu Kernel level so not EVE-NG itself) and discovered that a lot of recent disk changes made within TIMOS vRouters (SROS 15.0 vSIM) were lost. We didn't see the same problem with any of the Cisco or other vendor VMs. We discussed this with Nokia and they pointed out that EVE-NG PRO doesn't set up the emulated disk in the way that they require. In particular, the cache=writethrough is missing. This appear to result in some changes not necessarily being committed to permanent storage in EVE-NG until the node is stopped.

Would it be possible to modify the KVM/QEMU options for TIMOS to reflect Nokia's recommendations and include cache=writethrough to avoid data loss in the event of host failure?

Steven Clarke
Vodafone

Re: Change disk caching to writethrough for TIMOS VMs

Posted: Wed Oct 30, 2019 8:21 am
by Uldis (UD)
Hi,
yes, we have a bit changed code to support this writethrough.
BUT, you will require to use new format for Nokia images.
virtide([a-z].qcow2

like virtidea.qcow2

Next release will be soon, I hope within couple of weeks.
You will need just rename your images inside folders from hda.qcow2 to virtidea.qcow2

Uldis

Re: Change disk caching to writethrough for TIMOS VMs

Posted: Fri Nov 08, 2019 11:54 am
by steve71
Thanks. Will keep an eye out for the update.