X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7B08AD1B4F9 for ; Sun, 26 Oct 2003 23:42:03 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 25825-01 for ; Sun, 26 Oct 2003 19:41:34 -0400 (AST) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 2FBA4D1B565 for ; Sun, 26 Oct 2003 19:41:19 -0400 (AST) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id h9QMiZl20773; Sun, 26 Oct 2003 23:44:35 +0100 Received: from bigfoot.com (accesspoint.mm.eutelsat.org [194.214.173.4]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id h9QNWVR01544; Mon, 27 Oct 2003 00:32:32 +0100 Message-ID: <3F9C5B92.4060800@bigfoot.com> Date: Mon, 27 Oct 2003 00:41:06 +0100 From: Gaetano Mendola User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Duffy House , "pgsql-admin@postgresql.org" Subject: Re: device full ---> postgres will not start References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/311 X-Sequence-Number: 10872 Duffy House wrote: > Hello: > > It looks like I got caught sleeping. > > I am running Postgresql 7.2 under Red Hat 7.3. > Postgresql failed today. When I tried to restart it, I got a message > stating that the device is full. > I used df to confirm that /var where postgres reside is full. /var is > on a 4 Gig device. > Postgresql is the only application on this machine. > > Please note, the backup of the database from the prior day, is 45 Meg > zipped. > I do not know how the database could be soaking up a 4 Gig device. > > Questions: > > How can I recover from this situation? Var contain also all log file of your box I guess. Go on your directory data ( on RH is on /var/lib/pgsql/data ) and do : du -sh if is really 4GB move your data directory in another big partition, make a simbolink link with your old location, start postgres and do a vacuum full of your database. if is not really 4GB do a log rotate of your logs. Regards Gaetano Mendola