<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi!,</p>
<p><br /></p>
<p>I'm an experienced user too... more than 10 too :)</p>
<p><br /></p>
<p>It's just an advice... I'd recommend using Cyrus replication as an HA mech. We use an own made mech for restoring mailboxes... the snapshot causes often mailboxes to need a reconstruction. Obviously if it has worked for you perhaps something has now changed... but as a general advise... I'll tell you to use replication as ha and deletion delay for instance as a recovery method.</p>
<p><br /></p>
<p>Cheers!</p>
<div>---<br />
<div class="firmasarenet" style="clear: both; text-align: left;">
<div class="imgsarenet" style="margin: 0 0 10px 0;"><img src="https://www.sarenet.es/estaticos/LogoSarenetEmails.png?newlogo" alt="sarenet" /></div>
<div class="titulosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 14px; color: #333333;"><strong>Egoitz Aurrekoetxea</strong></div>
<div class="dptosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #333333;">Departamento de sistemas</div>
<div class="textosarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #333333;">944 209 470<br />Parque Tecnológico. Edificio 103<br />48170 Zamudio (Bizkaia)</div>
<div class="lnksarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #007ac4; line-height: 1.2;"><a id="mailto" style="font-size: 12px; color: #007ac4; text-decoration: underline;" href="mailto:egoitz@sarenet.es"><label id="label_email">egoitz@sarenet.es</label></a></div>
<div class="lnksarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 12px; color: #007ac4; line-height: 1.2;"><a style="font-size: 12px; color: #007ac4; text-decoration: underline;" href="http://www.sarenet.es">www.sarenet.es</a></div>
<br />
<div class="imprimirsarenet" style="font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 10px; color: #a0c361;">Antes de imprimir este correo electrónico piense si es necesario hacerlo.</div>
</div>
</div>
<p><br /></p>
<p>El 06-12-2018 10:32, Ismaël Tanguy escribió:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --> <!-- head ignored --><!-- meta ignored -->
<p>Hello,</p>
<p>thanks for your answer.<br /> We have been using for more than 10 years Cyrus with NFS because of the snapshot.<br /> Snapshot give a way to restore mail or mailbox.<br /> It has worked like a charm until the migration.<br /> Now we're stuck on daily mailbox corruption due to this storage.</p>
<p>We're looking, first, to a way to automate safely the reconstruct of mailbox, ideally keeping the Seen State of mails.<br /> In parrellel, we're studying the migration to Cyrus 2.4.17 without the use of NFS.</p>
<p>Cheers,<br /> Ismael</p>
<p><br /></p>
<div class="moz-signature">
<p style="font-family: Arial; font-size: 10px;"> </p>
</div>
<div class="moz-cite-prefix">Le 06/12/2018 à 08:21, <a class="moz-txt-link-abbreviated" href="mailto:egoitz@sarenet.es">egoitz@sarenet.es</a> a écrit :</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hi!
<div> </div>
<div>Mate nfs, is no tan appropiate storage for Cyrus. I'd recommend you using machine local storage. Using that kind of config won't success.</div>
<div> </div>
<div>Cheers,<br /> <br />
<div id="AppleMailSignature" dir="ltr">Egoitz,</div>
<div dir="ltr"><br /> El 5 dic 2018, a las 12:13, Ismaël Tanguy <<a href="mailto:ismael.tanguy@univ-brest.fr">ismael.tanguy@univ-brest.fr</a>> escribió:<br /> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr">
<p>Hello, this is a Cyrus 2.3.11 on Centos 5.<br /> About 5000 users for 10 To.</p>
<p>Mail storage has been moved from NetApp NFS to FluidsFS (aka Dell Compellent NFS).<br /> Since an update on FluidFS, Imap spool undergoes daily NFS timeouts which leads to corrupt mailboxes.<br /> Typically, this begins with lines like this in /var/log/messages:</p>
<pre>Dec  5 09:54:43 mailhost kernel: lockd: server 192.xxx.xx.xx not responding, timed out

</pre>
<p>Which is followed by IOERROR for accessed mailboxes during NFS timeout:</p>
<pre>Dec  5 09:54:47 mailhost lmtpunix[14542]: IOERROR: locking index for user.xxxx: Input/output error
Dec  5 09:54:47 mailhost imaps[21999]: IOERROR: locking header for user.xxxx.Sent: Input/output error
Dec  5 09:54:47 mailhost imaps[26935]: IOERROR: locking index for user.xxxx: Input/output error
Dec  5 09:54:47 mailhost imaps[24013]: IOERROR: locking index for user.xxxx: Input/output error
Dec  5 09:54:47 mailhost imaps[15672]: IOERROR: locking index for user.xxxx: Input/output error
Dec  5 09:54:47 mailhost imaps[3999]: IOERROR: locking index for user.xxxx: Input/output error
Dec  5 09:54:47 mailhost imaps[30671]: IOERROR: locking index for user.xxxx: Input/output error</pre>
<p>...................<br /> Around 15 maiboxes are corrupted at each timeouts.<br /> Manually, we can repair this mailbox:</p>
<ul>
<li>first, we have to delete all cyrus files in mailbox, if not the following reconstruct can be blocked</li>
<li>then, we reconstruct the mailbox (reconstruct -s user.<NAME>.<FOLDER></li>
</ul>
<p>The downside of this method is that all messages in the reconstructed folder are marked 'Not seen'.<br /> To automate this, a Python script has been written, but sometimes not all cyrus files (cyrus.index) are recreated:</p>
<pre>Dec  5 01:03:53 mailhost lmtpunix[497]: IOERROR: opening /var/spool/imap/x/user/xxxxxx/cyrus.index: No such file or directory</pre>
<p>Timeouts happen about 3 times per day, and cyrus deliver process is blocked when delivering to a corrupted mailbox.<br /> So my first question is : how can we reconstruct a mailbox without marking mails as not seen?<br /> And my second question is : why cyrus files are not recreated everytime? Is this due to the -s parameter with reconstruct?</p>
<p>Any help will be appreciated.</p>
<p>Thanks</p>
<p>------------------</p>
<p>Ismael TANGUY</p>
<div class="moz-signature">-- <br />
<p style="font-family: Arial; font-size: 10px;"> </p>
</div>
</div>
</blockquote>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr"><span>----</span><br /> <span>Cyrus Home Page: <a href="http://www.cyrusimap.org/" target="_blank" rel="noopener noreferrer">http://www.cyrusimap.org/</a></span><br /> <span>List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" target="_blank" rel="noopener noreferrer">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a></span><br /> <span>To Unsubscribe:</span><br /> <span><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" target="_blank" rel="noopener noreferrer">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></span></div>
</blockquote>
</div>
</blockquote>
</blockquote>
</body></html>