Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id B13161CDC6AB for ; Tue, 7 Aug 2012 22:11:27 -0300 (ADT) Received: from mail-yx0-f174.google.com ([209.85.213.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Syunz-0002Me-8f for pgsql-admin@postgresql.org; Wed, 08 Aug 2012 01:11:26 +0000 Received: by yenl2 with SMTP id l2so260801yen.19 for ; Tue, 07 Aug 2012 18:11:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=UvwhqSIG7/mCFQIKTBFyNK02EosSuqlKnWas7k52adw=; b=Lqxj9/eSdjcWNiNVvam6acSXfrmoNq2R9oFoUSBjniWfc7WtsdOCDtmmLoa29bAB2p 44hTpDqilwL9bFJ/Dvu89UP2VQ5+U2ih/QlHxbLvcj2wKdfVzBx+jkEW7Q8a5M48gN2k 4u6zS4UGwbVu92FLwy/i0uZhlgwJY551a9XSWh3pGo4hx/jcWeD9BD/ClS02vWB01GBY 0yllLSln70zJnrULYoK8dr7zMrVr03Eij2AYUQIqx1I8mJ1LwWMGNUpFBeG/y8J+KfIi g/kqFZk1wQOZb8O7PdwLMBSEwgWHon2tAuaPiOj51ruslJ3L1CBc9MENuekHUSRnPX6u nn/w== Received: by 10.66.73.132 with SMTP id l4mr30030117pav.30.1344388268208; Tue, 07 Aug 2012 18:11:08 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id oo6sm8779324pbc.22.2012.08.07.18.11.05 (version=SSLv3 cipher=OTHER); Tue, 07 Aug 2012 18:11:07 -0700 (PDT) Message-ID: <5021BCA6.7030000@ringerc.id.au> Date: Wed, 08 Aug 2012 09:11:02 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Terry Schmitt CC: pgsql-admin@postgresql.org Subject: Re: Data corruption after SAN snapshot References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk1DOEsJjDhzVb0MykCFGKjHiKrpB7yAYeMPZ87kmLeB1nvza0et9kR8HPcx3wyXTc5mloo X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/44 X-Sequence-Number: 39865 On 08/08/2012 06:23 AM, Terry Schmitt wrote: > Anyone have a solid method to test if fdatasync is working correctly or > thoughts on troubleshooting this? Try diskchecker.pl https://gist.github.com/3177656 The other obvious step is that you've changed three things, so start isolation testing. - Test Postgres Plus Advanced Server 8.4, which you knew worked, on your new file system and OS. - Test PP9.1 on your new OS but with ext3, which you knew worked - Test PP9.1 on your new OS but with ext4, which should work if ext3 did - Test PP9.1 on a copy of your *old* OS with the old file system setup. - Test mainline PostgreSQL 9.1 on your new setup to see if it's PP specific. Since each test sounds moderately time consuming, you'll probably need to find a way to automate. I'd first see if I could reproduce the problem when running PgBench against the same setup that's currently failing, and if that reproduces the fault you can use PgBench with the other tests. -- Craig Ringer