Received-SPF: pass (Last token {mx} (res=PASS)) client-ip=204.238.32.252; envelope-from=<john@wilkes.com>; x-ip-name=mail.wilkes.com;
X-Received: from wilkes.com (mail.wilkes.com [204.238.32.252])
by netwin.co.nz (SurgeMail 7.3f) with ESMTP id 3993904-1391920
for <surgemail-list@netwin.co.nz>; Tue, 05 Dec 2017 05:57:47 +0000
X-Return-Path: john
X-Default-Received-SPF: pass (skip=forwardok (res=PASS));
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: [SurgeMail List] server hardware upgrade and migration question
From: John Wilkes
In-Reply-To: <ea32d682-8147-8b69-3ec1-de11513e6036@netwinsite.com>
Date: Mon, 4 Dec 2017 21:57:44 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <FC7AFD19-9AB4-4033-A29E-9CA3DD1D8663@wilkes.com>
References: <43A37C30-9CF0-4B38-B71D-9BC7E4A5EB78@wilkes.com> <c6dc1353-b364-f17d-f355-1064432b43c4@netwinsite.com> <74DA2AB2-DE3D-470B-AF4E-4FC9C18DA97F@wilkes.com> <567e63df-315f-c14d-e671-ba5c50fa2b02@netwinsite.com> <286522B4-5A75-43D2-B04E-A172F4AA29A1@wilkes.com> <ea32d682-8147-8b69-3ec1-de11513e6036@netwinsite.com>
To: surgemail-list@netwin.co.nz
X-Mailer: Apple Mail (2.3124)
X-X-Authenticated-User: john@wilkes.com
X-Originating-IP: 204.238.32.252
X-Country: code=US country="United States" ip=204.238.32.252
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-SpamDetect: ****: 4.2 sd=4.2 lv=0.00 nok=16/0 m=8 nf=7 Exact 0.04(X-myrbl:Color=white) 0.90(X-Phrase:isspam) 0.78(X-Verify-Helo:-ERR) 0.40(X-Country:States) 0.44(X-NotAscii:utf) 0.46(X-LangGuess:English) 0.50(spfpass) Saned 5.0 Sval 4.2 bsan 5.0 Moved 5.0->4.2 Sval 4.2
X-NotAscii: charset=utf-8
X-LangGuess: English
X-Probe: +OK skipped, known ip address
X-Phrase: IsSpam score=1.00
X-Verify-Helo: -ERR missmatch: wilkes.com->204.238.32.252->mail.wilkes.com
X-MyRbl: Color=White Age=104 Spam=0 Notspam=1 Stars=0 Good=38 Friend=56 Surbl=0 Catch=0 r=0 ip=204.238.32.252
X-IP-stats: Incoming Outgoing Last 0, First 104, in=5961, out=72, spam=0 Known=true ip=204.238.32.252
List-Unsubscribe: <mailto:surgemail-list-leave@netwin.co.nz?subject=unsubscribe>
X-Mailing-List: surgemail-list@netwin.co.nz
List-ID: <surgemail-list@netwin.co.nz>
Precedence: bulk
Reply-To: surgemail-list@netwin.co.nz
In every case it looks like the size reported by “du” is smaller on the mirror. Some examples:
on the server:
180772K /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09
193284K /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e10-12
279688K /var/surgemail/wilkes.com/va/wb/john/mdir/2017%2e01-03
148552K /var/surgemail/wilkes.com/va/wb/john/mdir/2017%2e04-06
on the mirror:
151540K /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09
144000K /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e10-12
156480K /var/surgemail/wilkes.com/va/wb/john/mdir/2017%2e01-03
110876K /var/surgemail/wilkes.com/va/wb/john/mdir/2017%2e04-06
Looking at one of those directories, /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09, there are more files on the server than on the mirror:
server: ls -1 /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09 | wc -l
3643
mirror: ls -1 /var/surgemail/wilkes.com/va/wb/john/mdir/2016%2e07-09 | wc -l
3383
Here is part of a context diff of the output of “ls -1” from mirror and server:
$ diff -c ls-1-mirror.out ls-1-mail.out
*** ls-1-mirror.out 2017-12-04 21:23:35.775993890 -0800
--- ls-1-mail.out 2017-12-04 21:24:31.109474252 -0800
***************
*** 11,16 ****
--- 11,17 ----
u1009~2,S(0,1888)[1467415418]
u1010~2,S(0,66783)[1467444553]
u1011~2,S(0,65102)[1467450827]
+ u1012~2,S(0,34034)[1467463028]
u101~2,S(0,87675)[1467877535]
u1013~2,S(0,63565)[1467464861]
u1014~2,S(0,67470)[1467489698]
***************
*** 29,34 ****
--- 30,36 ----
u1026~2,S(0,97501)[1467667206]
u1027~2,S(0,56112)[1467684236]
u1028~2,S(0,3675)[1467697203]
+ u1029~2,S(0,103202)[1467724783]
u10~2,S(0,109174)[1467406715]
u1030~2,S(0,60523)[1467731066]
u1031~2,S(0,33183)[1467733985]
***************
Only the mirror is missing files; there are no files on the mirror that do not appear on the server. The directory in the output above is old archived mail, and is static; i.e. no changes were made on the server or the mirror while gathering this information. The “extra” files on the server are legitimate messages which should have been sent to the mirror.
I am running SurgeMail version 7.3c3-3 on both server and mirror. The mirror is a fresh installation (after a disk crash on the previous mirror hardware). The server has been running SurgeMail for many years and has been upgraded several times, most recently from version 6.3c to 7.3c-3 a few months ago.
--
John Wilkes
john@wilkes.com
One of the advantages of being disorderly is that
I am constantly making interesting discoveries.
> On Dec 4, 2017, at 5:03 PM, surgemail-support <surgemail-support@netwinsite.com> wrote:
>
> It's a bit tricky (easier in next release)
>
> Anyway.
>
> tellmail status | grep Resync
> Resync: Tot=2038 0.0/s, Resent=0 Prune=0 Dir=14 Th=4
>
> If the total isn't changing then it's finished.
>
> (in new builds it will say finished reliably and give a progress indicator too)
>
> ChrisP.
>
>
> On 5/12/2017 10:35 a.m., John Wilkes wrote:
>> How can I tell that the resync has completed?
>>
>>
>
> --
> I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP.
|