pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gnanam@zoniac.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Fatal Error during PITR Recovery
Date: Wed, 09 Jun 2010 11:56:42 -0400
Message-ID: <25838.1276099002@sss.pgh.pa.us> (raw)
In-Reply-To: <01e701cb07b3$b8548b80$28fda280$@com>
References: <01e701cb07b3$b8548b80$28fda280$@com>

"Gnanakumar" <gnanam@zoniac.com> writes:
> My production is running PostgreSQL v8.2.3 on CentOS release 5.2 (Final).

> As part of our routine, we just wanted to make sure and practice once in a
> while, whether PITR recovery process is performed without fail.  When I
> started the recovery process, after sometime, I see the following error in
> the serverlog.

> []:2010-06-09 04:44:59 EDTLOG:  could not fsync segment 0 of relation
> 1663/169462/252056: No such file or directory
> []:2010-06-09 04:44:59 EDTCONTEXT:  xlog redo checkpoint: redo 13/3FE33EB0;
> undo 0/0; tli 1; xid 0/331456443; oid 256783; multi 337; offset 676; online
> []:2010-06-09 04:44:59 EDTFATAL:  storage sync failed on magnetic disk: No
> such file or directory

This is probably a bug we fixed in 8.2.4:

2007-04-12 11:04  tgl

	* src/backend/commands/dbcommands.c (REL8_2_STABLE): Cancel pending
	fsync requests during WAL replay of DROP DATABASE, per bug report
	from David Darville.  Back-patch as far as 8.1, which may or may
	not have the problem but it seems a safe change anyway.

You really ought to be running a less ancient minor release of PG --- 8.2.x
is up to 8.2.17.  Your OS sounds a bit long in the tooth as well.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <25838.1276099002@sss.pgh.pa.us>
Permalink:  ../25838.1276099002@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25838.1276099002@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, gnanam@zoniac.com
  Subject: Re: Fatal Error during PITR Recovery
  In-Reply-To: <25838.1276099002@sss.pgh.pa.us>

* 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