From: Johan De Meersman Date: October 17 2012 11:30am Subject: Re: Odd Behavior During Replication Start-Up List-Archive: http://lists.mysql.com/mysql/228436 Message-Id: <16565833.8257.1350473450175.JavaMail.root@tuxera.be> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8255_24652628.1350473450171" ------=_Part_8255_24652628.1350473450171 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit > ----- Original Message ----- > From: "Reindl Harald" > > Am 17.10.2012 12:26, schrieb Johan De Meersman: > > > > ----- Original Message ----- > >> From: "Reindl Harald" > >> > >> i do not trust any FS snapshot in this context > > > Why? I am completely unaware of any functional difference between an rsync and a snapshot, everything else being equal. > > because you have to be pretty sure that you snapshot is consistent > rsync the snapshot may result in the problem of the OP if there > was not all written back to disk before the snapshot was made > > the point of rsync in the way i make it is that mysqld is DOWN > and it is only down for a very small timeframe because > two rsync-runs, the first while mysqld is up and the > second one after stop mysqld has only to copy diff I agree with the double rsync - I use the same technique - but again, if your daemon is down (thus, everything else being equal) a snapshot is just as consistent as an rsync, no? The main benefit of a snapshot, as far as I see, is that you don't have to do the I/O intensive first rsync - at the cost of copy-on-write operations after the fact, of course. Copy-on-write is blocklevel, though, so also has fairly little impact on performance save for extra metadata updates. -- Linux Bier Wanderung 2012, now also available in Belgium! August, 12 to 19, Diksmuide, Belgium - http://lbw2012.tuxera.be ------=_Part_8255_24652628.1350473450171 Content-Type: text/plain; name=signature.asc Content-Disposition: attachment; filename=signature.asc Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxLjQuMTIgKEdO VS9MaW51eCkNCkNvbW1lbnQ6IFVzaW5nIEdudVBHIHdpdGggTW96aWxsYSAtIGh0dHA6Ly93d3cu ZW5pZ21haWwubmV0Lw0KDQppRVlFQVJFQ0FBWUZBbEIraW5jQUNna1FobUJqejM5NEFubUR1QUNm ZGpnMHJrRU9iYzRwVkJMWG95US95amZKDQovS0lBbmk5OElDWDVQVHdyUHM0Umt2TEMyZkgrRUhu Wg0KPTc3MmINCi0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ0K ------=_Part_8255_24652628.1350473450171--