<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Reset AlarmStorage disk IO error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c6a24b88c9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c6a24b88c9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/c6a24b88c9/</id><updated>2020-11-27T11:00:35.308000Z</updated><subtitle>Recent posts to Reset AlarmStorage disk IO error</subtitle><entry><title>Reset AlarmStorage disk IO error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c6a24b88c9/?limit=25#c440" rel="alternate"/><published>2020-11-27T11:00:35.308000Z</published><updated>2020-11-27T11:00:35.308000Z</updated><author><name>LooijmansR</name><uri>https://forge.codesys.com/u/looijmansr/</uri></author><id>https://forge.codesys.com74f53a8461b968eb47e22f0cc4a945f127a99c8f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The "Application.alarmstorage.1.sqlite" has last been modified over a month ago, while new entries are being registered daily. How is this possible? Did CODESYS catch the error and changed from in-file storage to in-memory storage?&lt;/p&gt;
&lt;p&gt;At the end of the day I don't mind how it's processed, as long as the entries are retained AND the error mentioned above is gone.&lt;/p&gt;
&lt;p&gt;How can this be achieved? Should I contact support directly?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reset AlarmStorage disk IO error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c6a24b88c9/?limit=25#b9ee" rel="alternate"/><published>2020-11-25T21:52:39.929000Z</published><updated>2020-11-25T21:52:39.929000Z</updated><author><name>LooijmansR</name><uri>https://forge.codesys.com/u/looijmansr/</uri></author><id>https://forge.codesys.comf8dfdab33fff6f42650d9bd49e3dfdbe9754d81f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have a CODESYS application running on a VM node in a Windows Hyper-V cluster. The application is thus shared on 2 different physical servers. The reason this is done is to update the servers with little to no downtime.&lt;/p&gt;
&lt;p&gt;The setup works really well, only the sqlite database of the AlarmStorage is throwing an error. This is probably due to the fact that it is being switched from server to server and detects something unexpected happened. The AlarmStorage still works, but is showing the error "Some kind of disk I/O error occured. Check disk space". See image attached.&lt;/p&gt;
&lt;p&gt;I've read this is probably due to the journal file not writable (see &lt;a href="https://stackoverflow.com/questions/9993555/disk-i-o-error-with-sqlite" rel="nofollow"&gt;https://stackoverflow.com/questions/9993555/disk-i-o-error-with-sqlite&lt;/a&gt; and &lt;a href="https://sqlite.org/howtocorrupt.html" rel="nofollow"&gt;https://sqlite.org/howtocorrupt.html&lt;/a&gt;, especially paragraph 7).&lt;/p&gt;
&lt;p&gt;Bottom line: how can I resolve this disk error without having to repair the database after every server switch (data is retained)? Can it be done with pragma journal_mode off or something similar (see link with par. 7 above).&lt;/p&gt;
&lt;p&gt;Every reply is welcomed. Thanks in advance.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br/&gt;
Reno&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>