Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ew4rV-0002Hp-8K for pgsql-bugs@arkaria.postgresql.org; Wed, 14 Mar 2018 11:46:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ew4rU-0006ih-3b for pgsql-bugs@arkaria.postgresql.org; Wed, 14 Mar 2018 11:46:28 +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 1ew4rT-0006iL-QS for pgsql-bugs@lists.postgresql.org; Wed, 14 Mar 2018 11:46:27 +0000 Received: from forward102o.mail.yandex.net ([37.140.190.182]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ew4rQ-0002qH-4K for pgsql-bugs@lists.postgresql.org; Wed, 14 Mar 2018 11:46:27 +0000 Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 2263C5A0126D; Wed, 14 Mar 2018 14:46:17 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 51XvajDihz-kGBeLArt; Wed, 14 Mar 2018 14:46:16 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zsrv.org; s=mail; t=1521027976; bh=8uttD0zDSQd5+u2dSbk5ZvaK+CRofTXvQa0B9tNoUpE=; h=From:To:References:Subject:Message-Id:Date; b=MB+X5NT68BmKK3ZgaRWfAYublCxDXsEOsCrz8KZ/09Z0gvkR7KX7m+HEsDtyItrPK 3RfmBBNmwFjDL446lWkKD77/kB7rqectPcMvzFI3SnEARYJUQyUNm43O6Kc0OPBl/O +uL2xQS8Qfr+RVwWelTBkJmxavFBCFcsbFsL3/Zg= Authentication-Results: mxback6g.mail.yandex.net; dkim=pass header.i=@zsrv.org Received: by web56o.yandex.ru with HTTP; Wed, 14 Mar 2018 14:46:16 +0300 From: Sergei Kornilov To: "murthy.mvvs@gmail.com" , "pgsql-bugs@lists.postgresql.org" References: <152102415171.1222.18092311474167350359@wrigleys.postgresql.org> Subject: Re: BUG #15110: Unable to backup database MIME-Version: 1.0 Message-Id: <1937951521027976@web56o.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 14 Mar 2018 14:46:16 +0300 Content-Transfer-Encoding: 7bit Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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