X-Original-To: pgsql-general@postgresql.org Received: from mail.logilune.com (erato.logilune.com [195.154.174.52]) by postgresql.org (Postfix) with ESMTP id 25B88476333 for ; Wed, 12 Mar 2003 13:18:09 -0500 (EST) Received: from [192.168.1.14] (shambala.logilune.com [192.168.1.14]) by mail.logilune.com (Postfix) with ESMTP id B40FF7B15D; Wed, 12 Mar 2003 19:18:08 +0100 (CET) Date: Wed, 12 Mar 2003 19:18:09 +0100 From: Eric Cholet To: Tom Lane Cc: pgsql-general@postgresql.org Subject: Re: vacuum error Message-ID: <212600000.1047493088@shambala.logilune.com> In-Reply-To: <27440.1047487239@sss.pgh.pa.us> References: <87840000.1047469699@shambala.logilune.com> <27341.1047486283@sss.pgh.pa.us> <181300000.1047486981@shambala.logilune.com> <27440.1047487239@sss.pgh.pa.us> X-Mailer: Mulberry/2.2.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archive-Number: 200303/608 X-Sequence-Number: 39100 --On Wednesday, March 12, 2003 11:40:39 -0500 Tom Lane wrote: > Eric Cholet writes: >> I get this error when vacuuming a table: >> PANIC: open of /usr/local/pgsql/data/pg_clog/0005 failed: No such file >> or directory >> using 7.3.2. >>> >>> What file names are actually present in pg_clog/ ? > >> 0000 0001 0002 0003 0004 > > Hm, interesting. You had any crashes recently? Yes, I've had many crashes. Always when vacuuming a largish (500 Mb) table. I suspected faulty hardware, so I dropped and recreated the tables several times. > Could you show us an > "ls -l" listing of those clog files (I want to know their sizes and > mod dates...) -rw------- 1 postgres wheel 262144 Dec 30 03:49 0000 -rw------- 1 postgres wheel 262144 Jan 2 19:12 0001 -rw------- 1 postgres wheel 262144 Feb 12 12:30 0002 -rw------- 1 postgres wheel 262144 Mar 10 06:51 0003 -rw------- 1 postgres wheel 253952 Mar 12 17:53 0004 Thanks, -- Eric Cholet