pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: PostgreSQL 9.3 - reindex problem
Date: Fri, 3 Aug 2018 10:46:06 -0500
Message-ID: <dc7ea056-9d7e-79d1-d8f3-95ff814b2b7e@gmail.com> (raw)
In-Reply-To: <pjuk85$u34$1@blaine.gmane.org>
References: <pjuk85$u34$1@blaine.gmane.org>

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.




view thread (3+ messages)

Message-ID: <dc7ea056-9d7e-79d1-d8f3-95ff814b2b7e@gmail.com>
Permalink:  ../dc7ea056-9d7e-79d1-d8f3-95ff814b2b7e@gmail.com/
Also on:    postgresql.org/message-id/dc7ea056-9d7e-79d1-d8f3-95ff814b2b7e@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: PostgreSQL 9.3 - reindex problem
  In-Reply-To: <dc7ea056-9d7e-79d1-d8f3-95ff814b2b7e@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox