Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id B08A79ED582 for ; Wed, 7 Dec 2011 21:02:39 -0400 (AST) Received: from mail-bw0-f46.google.com ([209.85.214.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RYSNg-0008Hm-DI for pgsql-admin@postgresql.org; Thu, 08 Dec 2011 01:02:38 +0000 Received: by bkbzv3 with SMTP id zv3so1114212bkb.19 for ; Wed, 07 Dec 2011 17:02:23 -0800 (PST) Received: by 10.204.147.22 with SMTP id j22mr459241bkv.118.1323306142749; Wed, 07 Dec 2011 17:02:22 -0800 (PST) Received: from ayaki.localdomain (203-173-33-169.dyn.iinet.net.au. [203.173.33.169]) by mx.google.com with ESMTPS id w3sm1017256bkq.3.2011.12.07.17.02.18 (version=SSLv3 cipher=OTHER); Wed, 07 Dec 2011 17:02:21 -0800 (PST) Message-ID: <4EE00C97.3080905@ringerc.id.au> Date: Thu, 08 Dec 2011 09:02:15 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 MIME-Version: 1.0 To: Walter Hurry CC: pgsql-admin@postgresql.org Subject: Re: bad block problem References: <1OQDq.131420$034.90105@en-nntp-06.dc1.easynews.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201112/57 X-Sequence-Number: 38815 On 12/08/2011 08:20 AM, Walter Hurry wrote: > On Wed, 07 Dec 2011 22:20:30 +0000, jkells wrote: > >> I am relying on identifying and correcting a bad block. > > Well, good luck with that. Most of the time you can't. Just check your > disk, replace it if necessary, restore from your backup and roll forward. > > Oh, you can't do that, since you didn't bother to back up. Never mind. Unless you're using synchronous replication to clone *every* transaction on commit to a spare machine, you'll still lose transactions on a failure no matter how good your backups are. Even if the OP was doing nightly dumps, they'd be entirely justified in wanting to try to get a more recent dump on failure. If they're not backing up at all, yes, that was dumb, but they know that now. Asking for help isn't unreasonable, and this isn't a stupid "just google it" question. They've made an effort, posted useful info and log output, etc. Please don't be too hard on them. -- Craig Ringer