X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C4303474E4F for ; Thu, 13 Feb 2003 15:10:39 -0500 (EST) Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id 2D9C9474E42 for ; Thu, 13 Feb 2003 15:10:39 -0500 (EST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h1DKaC6P013774; Thu, 13 Feb 2003 15:36:12 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h1DKAdj14825; Thu, 13 Feb 2003 15:10:39 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id CWVL1GKC; Thu, 13 Feb 2003 15:10:38 -0500 Subject: Re: How to extend database to another disk space From: Robert Treat To: Kevin Tsang Cc: "'pgsql-admin@postgresql.org'" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 13 Feb 2003 15:10:38 -0500 Message-Id: <1045167038.12930.541.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/193 X-Sequence-Number: 7391 I'm having a hard time thinking of how to do this on a windows box, you might want to ask on the -cgwyn list. I would think what you need to do is shutdown the db, install the second hard drive. initdb on the second hard drive, copy your data files up, then fire back up the database. Moving the logs might be easier, you should be able to specify a new location for log output fairly easily, and can just point this to the new hard drive. Take it all with a grain of salt, I'm not uh.. brave(?) enough to run windows on a production system. Robert Treat On Tue, 2003-02-11 at 14:18, Kevin Tsang wrote: > Hi, > > I am running: > Intel P4, 512Mb Memory, 60Gb Hard Drive > Windows2000 Pro, Service Pack 2 > PostgreSQL 7.3 > cygwin dll 1.3.12-2 > ipc 1.11-1 > > Can anyone tell me how to extend the database and logs to another disk > space in case of a disk filled up? > Many Thanks > > Kevin > >