Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flcHT-00016l-5E for pgsql-admin@arkaria.postgresql.org; Fri, 03 Aug 2018 15:46:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1flcHO-0007B4-1K for pgsql-admin@arkaria.postgresql.org; Fri, 03 Aug 2018 15:46:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flcHN-0007Ax-OJ for pgsql-admin@lists.postgresql.org; Fri, 03 Aug 2018 15:46:13 +0000 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1flcHK-000097-7O for pgsql-admin@lists.postgresql.org; Fri, 03 Aug 2018 15:46:12 +0000 Received: by mail-oi0-x244.google.com with SMTP id v8-v6so10597573oie.5 for ; Fri, 03 Aug 2018 08:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=CGn7FV7sdw6hsCdHWep7N1Fk3fg/RfPdcD/2pzEvtFA=; b=q5Gp0R3bfaYWr2lmv1CjUmjSbYXoxboThjKqnOHdvH+nGLClIhJh3NqzosPnOTPX+t OrWCK9OLb4vpz2+cRKd2Qq+/gYqB6D+fxqm9LZkuKvylQudu2KWLHCmhpXOGiM0d2NiE aIUFMMdJvNWTHq3KnNCXVBdwOfgi3XxyBphi235SezDSkuq+O52pTJonA0j14cJBlofb NdnoZHXr1I7L2zKH42+pDp44d0iNzX6UaynT+jowDJTSp+Jgvb6gPHUUSsPTj9wAX0Zz J8wnWH+r+6kavEpOaIwsA0WEhm5DTCUkTK6R/xNZbN2kXkCwH46UegumHcxIoLZI7By8 i3ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=CGn7FV7sdw6hsCdHWep7N1Fk3fg/RfPdcD/2pzEvtFA=; b=WAbslQre4635hP80XnL5WjtpG99ZRY72382U9c/erNFS9A12FZ+rP/GUXCo3Enmdku FoA+7tF9o+TLjkwENnpT4RmLG6E3/XqCdOqkfcW0ycAPDreLKX1IWQVxs8tpMg8HB+X3 e9JKVRaoaN+1XwCfLaXN5krTlm3bSUJ6S6xfKd7Qep0fQVYwaYIl1vEHuPLblDO17NRK avyownOLoYT6yNrk0T/iVpSefDMPeDk8wMJZSuGJb2Y386BS7t6Crhn4ZK9bDsmdJ6qa BQAcN8JNwrhaxULfLSVBl9tAG0yLo9wDYVvGngoXavJXkVwKiyEGsdXD9gFkfC9B3XI4 pt0A== X-Gm-Message-State: AOUpUlFcGfQ4tbmaItTMeUajCm4hQcrj2cK046vaTw2s0mVyA3P81fXk BMYjDicPK/xjRku1As0bv8pGqrKn X-Google-Smtp-Source: AAOMgpf+oBQqZAuZ3v1l2UYcTjC6vArg0q884zrZ4LHzwuDhrn3cjwEGvzNMUJbtDduHAnZF7B2+tA== X-Received: by 2002:aca:ad86:: with SMTP id w128-v6mr4033092oie.112.1533311168311; Fri, 03 Aug 2018 08:46:08 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id e125-v6sm10826889oig.4.2018.08.03.08.46.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 08:46:07 -0700 (PDT) Subject: Re: PostgreSQL 9.3 - reindex problem To: pgsql-admin@lists.postgresql.org References: From: Ron Message-ID: Date: Fri, 3 Aug 2018 10:46:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/02/2018 04:54 AM, For@ll wrote: > Hi, > > I have problem with postgresql-9.3 in our clients. They suddenly lost > power connection and all servers halt.. I repiar xfs filesystem on CentOS7 > postgresql partition. Now when I want run reindex database I receive error: > > reindexdb -d ex200 > NOTICE:  table "pg_catalog.pg_class" was reindexed > reindexdb: reindexing of database "ex200" failed: ERROR:  invalid page in > block 101 of relation base/157934/12685 What object does 157934/12685 refer to?  Maybe you can drop that one thing and then recreate it. > > I want to try run dump and save database on plaintext but when I start > pg_dump it's hang... > > pg_dump -a -v -d ex200 > ex200.sql > pg_dump: last built-in OID is 16383 > pg_dump: reading extensions > pg_dump: identifying extension members > pg_dump: reading schemas > pg_dump: reading user-defined tables > pg_dump: reading user-defined functions > > Any ideas what can I do.. Client told me they have a backup from 2 montgs > ago.... -- Angular momentum makes the world go 'round.