Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDgv7-000355-T1 for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Mar 2013 19:56:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UDgv7-0005f9-Bh for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Mar 2013 19:56:05 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UDgv6-0005f3-DU for pgsql-bugs@postgresql.org; Thu, 07 Mar 2013 19:56:04 +0000 Received: from nm20.bullet.mail.bf1.yahoo.com ([98.139.212.179]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UDgv4-0007Kw-GR for pgsql-bugs@postgresql.org; Thu, 07 Mar 2013 19:56:03 +0000 Received: from [98.139.215.140] by nm20.bullet.mail.bf1.yahoo.com with NNFMP; 07 Mar 2013 19:56:01 -0000 Received: from [98.139.212.237] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 07 Mar 2013 19:56:01 -0000 Received: from [127.0.0.1] by omp1046.mail.bf1.yahoo.com with NNFMP; 07 Mar 2013 19:56:01 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 304791.53793.bm@omp1046.mail.bf1.yahoo.com Received: (qmail 82159 invoked by uid 60001); 7 Mar 2013 19:56:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1362686161; bh=Ihp5IuSy2oZLsFrDNY+p7l+TaV0U+tuC8ycIWJV405s=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aj786vhUCkbwARcaio5JTr5HV2XNIQhZoqi3CIbKejBFatWoclETlCl/zRjjvajvIUnbpAiFvtAzkMtq1bZAsK57Cl5c1fCoCX2R+UMy0XPvsvE80XPyh2IMShRqact+4Xg+oorz69Ei5iwVs7NDemJGt9m89LgZmT9nAj4kJdQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=0Oow9Kd6eRV/z2mfG9MkFp0hr2nm9RGg7QN4hIYXMipjj8DHuL9it9nblTczhhOtDCnwG0fWIitDaMQcMHPkVI27+flvptGCQF5BpeOsDFwqqmuaJRP+Np8fn7ikgG1XaWadHmyVnwFW5xjB+2npzYJ7eTSLPlmYiKWPkXIukg4=; X-YMail-OSG: k9u3HXIVM1lbba7v8KTyx6aK4iV7Ror6HVumJZwOnY_xJaI I_N3c1x0kQvO6xEPWYSeg5qQnHoHfMZDEMLiIcmSHCpJQGNw7Jxs3yRehpeh ykyPmwzoS0NWZ35TkaSrJFn2ae8yVPSKSxFF_GMFLW9mTflZ6U.JcmKJS5tL EsnqRzoCwelYAUFC37420x5iRD.pY3s5wjgIQgMSN.5AKAfzZEYJ0yk3pLqk gd4QDcnMIjqo4kBgOGaeUffyIU85gXL74t7ePPm2tKv.qGG9zCpdwK2DAzK_ jJi35vZT93D3kWGJWRfBrnqTzGJuTXun9i9vGHp.3l3jItv5aMnBREgMEXqB JD5KYP.LG6wm7ZEMBP8yum2JBPf8tXZ6v9EEPMQsheVpyrZ0tse7pNT9oyuO t7gYjdOQ7qFIrzQfyVFUky1fjXg73vwn4WyG1fxsJzZYdfaZc9wKMml9sMqP bo1.6vvhzpL1olqCPbnykFmSRREHWKkmt4kPgAJ1RPWkGJl2hZaWq.M0ZlOG ArA3BEtyFfVJXSLkclTGvEz_JTw9phUPex_5mRJpP0lg3J9r9BzSmtEzhaFP 6sYBqP0fZfQLRlWr60gtYjrusKZs9rRjeYo0fFlzz Received: from [76.255.18.237] by web162903.mail.bf1.yahoo.com via HTTP; Thu, 07 Mar 2013 11:56:00 PST X-Rocket-MIMEInfo: 001.001, ImZidXJnZXNzQHJhZGlhbnRibHVlLmNvbSIgPGZidXJnZXNzQHJhZGlhbnRibHVlLmNvbT4gd3JvdGU6Cgo.IEl0IGxvb2tzIGxpa2UgdGhpcyBzY3JpcHQgZGVsZXRlcyBhbGwgb2YgdGhlIGRhdGEgZmlsZQo.IGRpcmVjdG9yaWVzIChhbmQgdGhlIGRhdGEgZmlsZXMpIGZyb20gdGhlIHBvc3RncmVzIDguNC4zCj4gaW5zdGFuY2UuIFNpbmNlIHdlIHVzZWQgdGhlICItayIgb3B0aW9uLCB3aGljaCBjYWxscyBmb3IgaGFyZAo.IGxpbmtzIHJhdGhlciB0aGFuIGNvcHlpbmcgZmlsZXMgdG8gdGhlIG5ldyBjbHUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.135.514 References: <20130307121129.5a830134ae84016b0174832fdc1a3173.e9a0119b7a.wbe@email11.secureserver.net> Message-ID: <1362686160.81979.YahooMailNeo@web162903.mail.bf1.yahoo.com> Date: Thu, 7 Mar 2013 11:56:00 -0800 (PST) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space. To: "fburgess@radiantblue.com" , "pgsql-bugs@postgresql.org" In-Reply-To: <20130307121129.5a830134ae84016b0174832fdc1a3173.e9a0119b7a.wbe@email11.secureserver.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "fburgess@radiantblue.com" wrote: > It looks like this script deletes all of the data file > directories (and the data files) from the postgres 8.4.3 > instance. Since we used the "-k" option, which calls for hard > links rather than copying files to the new cluster, wouldn't this > be deleting the files?=A0 If so, the DB would be corrupted beyond > recovery if we run it.=A0 Or am I missing something? You need to read up on hard links a bit more.=A0 Here's one source: http://www.linfo.org/hard_link.html In summary, a hard link allows multiple directory entries to point to the same data location.=A0 Until you delete the last directory entry the file remains. --=20 Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs