X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9FC468B9CEE for ; Wed, 16 Feb 2005 13:17:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38035-06 for ; Wed, 16 Feb 2005 13:17:20 +0000 (GMT) Received: from 3times25.net (66-23-211-34.clients.speedfactory.net [66.23.211.34]) by svr1.postgresql.org (Postfix) with ESMTP id 006718B9C1F for ; Wed, 16 Feb 2005 13:17:19 +0000 (GMT) Received: from [127.0.0.1] (rhws.home.edu [127.0.0.1]) by 3times25.net (Postfix) with ESMTP id D2D367466B for ; Wed, 16 Feb 2005 08:17:18 -0500 (EST) Message-ID: <421347DD.2090602@3times25.net> Date: Wed, 16 Feb 2005 08:17:17 -0500 From: Geoffrey User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin Subject: Re: when datas filesystem is full how to do References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.038 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200502/137 X-Sequence-Number: 16305 guly wrote: > I have installed postgresql in /usr/local filesystem on RH Linux. But Running for two months,the datas are growing too fast.There is no enough space at /usr/local filesystem. I want to make this filesystem bigger or move the database to another > filesystem and don't stop the database.Someone can tell me how to do that?Thanks. I don't know about all the aspects regarding Postgresql, but you could create another partition, either from current free space, or by adding another drive and migrate /usr/local to it. Create the new space (format existing unused space, add a new drive) mount the new space (/tmpmnt or something) Boot to single user, insure your postgresql database is not active. Copy /usr/local to /tmpmnt Modify /etc/fstab to mount /usr/local on /tmpmnt Once you verify this all works, you will need to reboot to single user, unmount your new /usr/local so you can remove the old stuff that was in the old /usr/local partition/directory in order to recover that space. Others may shoot this down because of issues with Postgresql I'm not aware of, but I do this all the time to move stuff around or create new space. -- Until later, Geoffrey