Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8BBuM712714 for ; Tue, 11 Sep 2001 07:56:22 -0400 (EDT) (envelope-from nickf@ontko.com) Received: from 1cust199.tnt1.richmond.in.da.uu.net ([63.27.103.199] helo=nick) by avocet.mail.pas.earthlink.net with smtp (Exim 3.32 #2) id 15gm9K-0004UC-00; Tue, 11 Sep 2001 04:56:19 -0700 Reply-To: From: "Nick Fankhauser" To: "Randy Hall" , "pgsql-admin" Subject: How much space should I allocate for WAL files? (was: RE: Can't get postmaster to restart after removing WAL files) Date: Tue, 11 Sep 2001 06:55:12 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <015101c13ab4$9d7d6690$4401a8c0@win2k> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Archive-Number: 200109/53 X-Sequence-Number: 2153 > Since you can recreate or restore the data, erase everything in > your $PGDATA directory and reinitialize the database. Thanks! I'll give that a try. > While you are at it, you should > consider putting $PGDATA on a filesystem with more space. Doing that has just become a priority for me! I'd like to approach this logically instead of just taking a shot in the dark. Is there any way to predict in advance how much space I'll need? -Nick > -- > Randy Hall - Red Hat Certified Engineer - Ex-Great Bridge > PostgreSQL Expert > Resume: http://members.home.net/rthall3 > > ----- Original Message ----- > From: "Nick Fankhauser" > To: "pgsql-admin" > Sent: Tuesday, September 11, 2001 7:16 AM > Subject: [ADMIN] Can't get postmaster to restart after removing WAL files > > > > Hi all- > > > > I caused a crash by filling up the filesystem that pg_xlog > lives on whilst > > doing a vacuum analyze. When I looked at the remains, there were 3 WAL > files > > out there & no space left. > > > > I tried simply restarting (/etc/init.d/postgresql start) in the > hopes that > > the mess would get cleaned, but with no luck. The startup > script reported > > success, but no postmaster was running. > > > > I tried removing the WAL files & restarting again with the same results- > the > > startup script reports success, but postmaster isn't running. > > > > I'm not worried about the data- this is on a demo system, so I can > > regenerate it quickly, but I can't even get the postmaster started so I > can > > begin the restore. I guess I've learned that removing a WAL > file is a Bad > > Idea (tm)... but now I need a good idea to get me back to the starting > > point. > > > > Any ideas? > > > > TIA- > > > > -Nick > > > > > > --------------------------------------------------------------------- > > Nick Fankhauser > > > > nickf@doxpop.com Phone 1.765.965.7363 Fax 1.765.962.9788 > > doxpop - Court records at your fingertips - http://www.doxpop.com/ > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 6: Have you searched our list archives? > > > > http://www.postgresql.org/search.mpl > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >