From: Sergei Kornilov <sk@zsrv.org>
To: murthy.mvvs@gmail.com <murthy.mvvs@gmail.com>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15110: Unable to backup database
Date: Wed, 14 Mar 2018 14:46:16 +0300
Message-ID: <1937951521027976@web56o.yandex.ru> (raw)
References: <152102415171.1222.18092311474167350359@wrigleys.postgresql.org>
Hello
This error message say your underlying filesystem returned less bytes than it should be. Usually this means storage was corrupted and should be checked by sysadmins.
https://github.com/postgres/postgres/blob/REL_10_STABLE/src/backend/storage/smgr/md.c#L776
So i suggest shutdown database, then copy full PGDATA directory, check disks and filesystem and recover database from backup. Or you may try enable zero_damaged_pages (this removes your data in such pages!) and copy the surviving data (better having another copy PGDATA).
regards, Sergei
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: sk@zsrv.org, murthy.mvvs@gmail.com
Subject: Re: BUG #15110: Unable to backup database
In-Reply-To: <1937951521027976@web56o.yandex.ru>
References: <152102415171.1222.18092311474167350359@wrigleys.postgresql.org> <1937951521027976@web56o.yandex.ru>
* 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