Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 010F3633107 for ; Tue, 17 Mar 2009 11:10:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 15785-04 for ; Tue, 17 Mar 2009 11:10:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail137087.authsmtp.net (outmail137087.authsmtp.net [62.13.137.87]) by mail.postgresql.org (Postfix) with ESMTP id 739AF6324BE for ; Tue, 17 Mar 2009 11:10:39 -0300 (ADT) Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt4.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n2HEAMOG059340; Tue, 17 Mar 2009 14:10:22 GMT Received: from [192.168.0.2] (85-211-223-92.dyn.gotadsl.co.uk [85.211.223.92]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n2HEAKaa058708; Tue, 17 Mar 2009 14:10:20 GMT Subject: Re: Need help to restore database From: Simon Riggs To: "Lori, Giancarlo" Cc: pgsql-admin@postgresql.org In-Reply-To: <556F27B79E1523449D310FCABD94333001958C10@derum205.emea.corp.eds.com> References: <556F27B79E1523449D310FCABD94333001958C10@derum205.emea.corp.eds.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 17 Mar 2009 14:10:20 +0000 Message-Id: <1237299020.3953.115.camel@ebony.2ndQuadrant> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 8bit X-Server-Quench: 59a97bc9-12fd-11de-8156-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFaQJbYFhD HGQLW11EUVl7WGN/ aQofZQBDYEtPQQdo U1ZAQE1QEQdtHhxP WBxmJ2gJJlRGfXZ3 ZU4sX3dcXQp/fBd0 RRwHHHAHZzE0dWEe BBVFfwJRdh5Kfh5E YlUrV3QKMjRJBC9q VzwaExUQGwAXDilY TkkNIFYKCVoMViQx XAwFBzhnEUQZTi86 NBFO X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:1378/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL=0.010 X-Spam-Level: X-Archive-Number: 200903/189 X-Sequence-Number: 31689 On Tue, 2009-03-17 at 09:50 +0100, Lori, Giancarlo wrote: > we are facing with a struggle problem with PostgreSql database > production. > > A client system based on pgsql is down because the database raise an > error message like “ no left space on device”. We have deleted some > log files on this machine and after a system restart the db (and the > system) was up&running. After two days the database has crashed again. > Looking the postgres log there was an error on xlog file (I have > inspected the directory pg_xlog and no files I found it). I’ll try to > re-build the xlog file with pg_resetxlog. The utilities has created a > new xlog file, the postmaster process run, but any command pg_dump, > etc I try to execute failed. The system respond that there are not > database in the system. Can anyone help us ? 2ndQuadrant has a lot of experience with helping people out with problems like this, including data recovery from damaged databases. Please let us know if we can be of any help. Apologies for mentioning commercial matters on list, though this work helps fund further developments in this area. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support