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 8F43CD1B503 for ; Mon, 27 Oct 2003 13:45:31 +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 46137-05 for ; Mon, 27 Oct 2003 09:45:03 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id F3523D1B4F1 for ; Mon, 27 Oct 2003 09:44:59 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id h9RDixNu013366 for ; Mon, 27 Oct 2003 13:44:59 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h9RDOodU009900 for pgsql-admin@postgresql.org; Mon, 27 Oct 2003 13:24:50 GMT From: kevin07@optonline.net (kbd) X-Newsgroups: comp.databases.postgresql.admin Subject: Re: device full ---> postgres will not start Date: 27 Oct 2003 05:24:53 -0800 Organization: http://groups.google.com Lines: 66 Message-ID: References: <3F9C5B92.4060800@bigfoot.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/313 X-Sequence-Number: 10874 Thanks for your reply to my posting. Hope you would be willing to provide some additional assistance. What can I says, I really do not have enough experience to bail, myself out of this one. i did cd /var/lib/pgsql/data then du-sh this reported 3.6gig This means I really have a 3.6 gig postgesql database? ********** Var contain also all log file of your box where would they be? can I dump old ones? well how do I dump them? ********* we run vacume everyday against the database. thanks in advance kd mendola@bigfoot.com (Gaetano Mendola) wrote in message news:<3F9C5B92.4060800@bigfoot.com>... > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html