pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Begin Daniel <jfd553@hotmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Error message restarting a database
Date: Mon, 28 Jan 2019 04:23:04 +0000
Message-ID: <YQBPR0101MB1476DCC4581175DE913286CF94960@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <3b448a0a-6f6c-3376-8fda-3bf8bafc1109@aklaver.com>
References: <YQBPR0101MB1476CEA4FA95B4F67770280094950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
	<85497da8-6e5c-4ed9-6412-7b72de5bc7fc@aklaver.com>
	<YQBPR0101MB1476F29F0296EA6DAF51B0FF94950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
	<d86b0a95-e56e-9ffc-c490-54cd1b6195fa@aklaver.com>
	<YQBPR0101MB147638DC2A2D864A7B81198694950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
	<6ce3f730-8808-88d0-79ba-161325d4f128@aklaver.com>
	<YQBPR0101MB147679BD562050D31A357F2594950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
	<b7287d92-7c02-ce14-6da9-a77570451faf@aklaver.com>
	<YQBPR0101MB1476845640A38AFD64F2A12D94950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
	<181d5008-fd82-9791-7c8a-38099184ab2d@aklaver.com>
	<YQBPR0101MB1476A8018B18633DB259284494950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
	<3b448a0a-6f6c-3376-8fda-3bf8bafc1109@aklaver.com>

Thank, I'll have a look

Sent from Galaxy S7

________________________________
From: Adrian Klaver <adrian.klaver@aklaver.com>
Sent: Sunday, January 27, 2019 8:18:08 PM
To: Begin Daniel
Cc: pgsql-general
Subject: Re: Error message restarting a database

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

view thread (12+ messages)  latest in thread

Message-ID: <YQBPR0101MB1476DCC4581175DE913286CF94960@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
Permalink:  ../YQBPR0101MB1476DCC4581175DE913286CF94960@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/YQBPR0101MB1476DCC4581175DE913286CF94960@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jfd553@hotmail.com, adrian.klaver@aklaver.com
  Subject: Re: Error message restarting a database
  In-Reply-To: <YQBPR0101MB1476DCC4581175DE913286CF94960@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>
  References: <YQBPR0101MB1476CEA4FA95B4F67770280094950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM> <85497da8-6e5c-4ed9-6412-7b72de5bc7fc@aklaver.com> <YQBPR0101MB1476F29F0296EA6DAF51B0FF94950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM> <d86b0a95-e56e-9ffc-c490-54cd1b6195fa@aklaver.com> <YQBPR0101MB147638DC2A2D864A7B81198694950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM> <6ce3f730-8808-88d0-79ba-161325d4f128@aklaver.com> <YQBPR0101MB147679BD562050D31A357F2594950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM> <b7287d92-7c02-ce14-6da9-a77570451faf@aklaver.com> <YQBPR0101MB1476845640A38AFD64F2A12D94950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM> <181d5008-fd82-9791-7c8a-38099184ab2d@aklaver.com> <YQBPR0101MB1476A8018B18633DB259284494950@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM> <3b448a0a-6f6c-3376-8fda-3bf8bafc1109@aklaver.com> <YQBPR0101MB1476DCC4581175DE913286CF94960@YQBPR0101MB1476.CANPRD01.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox