Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnvZ5-0001Ct-Tt for pgsql-general@arkaria.postgresql.org; Mon, 28 Jan 2019 01:18:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gnvZ4-0006hD-Cu for pgsql-general@arkaria.postgresql.org; Mon, 28 Jan 2019 01:18:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnvZ2-0006h6-Ox for pgsql-general@lists.postgresql.org; Mon, 28 Jan 2019 01:18:18 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnvYy-0003t3-Fu for pgsql-general@postgresql.org; Mon, 28 Jan 2019 01:18:16 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3738D21E97; Sun, 27 Jan 2019 20:18:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 27 Jan 2019 20:18:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=F /hl8DrhFhdblTIKIOAZhfJyVQB+f0ZFRzEnBAXtTaw=; b=BeoyfvjasQqxQ2u2v 8dJZFG3Y1SmdUp4ffJAU/XTT6f3tiY/20BNmr1GESleWNyKV54I3131wjMHZqyWP X33nouK7ZAaXl98N9Dw86fHiFv2S2a8GWLYtrupDTeY7knVThBD9KCXxESineluR sUJgIfvPqcdrDwZtmcrW4J1x+NE7pz4kyFbmC0eN++QH+0xrGe2E0yeexAuxX1J3 8mt5A9MbRCvMjtNj6d1hlKOkv9FnZfLxyH+Fxq1CvtwxSfUv/SoB1KxoDrgEkGuy JKdn6OcWvTtSQEHbT3WKTSaB6/Qu3YPXgdxjyBf36HtRmJzWomnjECVhovepe9RB lrkWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=F/hl8DrhFhdblTIKIOAZhfJyVQB+f0ZFRzEnBAXtT aw=; b=wm05jS049M+vwQ5gPpxCftKKqRwl5ywj9Fqwj47eelmWcSEtSlUuAR118 Hcse1h6tghX1yiLf63IXbI5jG4ZEoqxi0rLp9O9/EvfJMEQy/uMZTjiXW9pcMvkp zOv14CWGLWzfvzlkOvvVANYXyBsVAF0XNWfRg5t78GeyF+VemJTcLRisp1xidzMC nauMsGxlg1htY2BPs/VK+uDgDwkqzFCx8LN2xqKg2JdDzIfuTidDi54EJRjuHV9G RYhDUFYncUPFLfffXwE60Tl3tz+XVhTewgBV/f/5rXyXsSeVytfNU6b5sGJFYptm zaJQr28l8aqRgLt6sYM5Lvn9ibLlQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrieelgdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpe etughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgv rhdrtghomheqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepje durddvuddvrddufeegrdefnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 395C1E41F3; Sun, 27 Jan 2019 20:18:09 -0500 (EST) Subject: Re: Error message restarting a database To: Begin Daniel Cc: pgsql-general References: <85497da8-6e5c-4ed9-6412-7b72de5bc7fc@aklaver.com> <6ce3f730-8808-88d0-79ba-161325d4f128@aklaver.com> <181d5008-fd82-9791-7c8a-38099184ab2d@aklaver.com> From: Adrian Klaver Message-ID: <3b448a0a-6f6c-3376-8fda-3bf8bafc1109@aklaver.com> Date: Sun, 27 Jan 2019 17:18:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/27/19 2:45 PM, Begin Daniel wrote: >> If you go to PGDATA.pg_tblspc do you have links to the tablespaces? >> >> I only installed one instance of Postgres on my PC, which I use to manage two databases (postgres and osmdump). osmdump is the database that complains. >> >> Regarding the links to the tablespaces, I first ran the following request. >> SELECT spcname FROM pg_tablespace; and got the following list. >> "pg_default" >> "pg_global" >> "workspace" >> "datadrive1" >> "datadrive2" >> "datadrive3" >> "datadrive0" >> >> I went to E:\pgsqlData\pg_tblspc and found the links to the five last tablespaces above (I manually created them, the first two were created when I installed Postgres). >> E:\pgsqlData\pg_tblspc \113608\PG_9.3_201306121\18364 link to the 888 items mentioned previously (physically stored in K:\pgsqlData\pg_tblspc...) > > Hmm, K:\pgsqlData\pg_tblspc looks suspiciously like something > masquerading as another PGDATA directory. Does a directory listing show > what is shown in?: > > https://www.postgresql.org/docs/10/storage-file-layout.html > >> I also found a PG_VERSION file in E:\pgsqlData. The file contains the value 9.3 >> >> Daniel >> > > Sorry, bad copy paste, you should have read K:\pgsqlData\PG_9.3_201306121\18364 > The suggested content is found only in E:\pgsqlData, including PG_VERSION file and pg_tblspc subdirectory > Your original post had: FATAL: ยท"pg_tblspc/113608/PG. 9.3_ 201306121/18364" is not a valid data directory PG. 9.3_ 201306121/18364 does not look like PG_9.3_201306121\18364. To me it looks like a case of corrupted symlink(or whatever it is called on Windows). -- Adrian Klaver adrian.klaver@aklaver.com