Re: Issue: Creating Symlink for data directory of postgresql in CentOS7

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: "Chatterjee, Shibayan" <shibayan(dot)chatterjee(at)centurylink(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Issue: Creating Symlink for data directory of postgresql in CentOS7
Date: 2019-07-12 17:02:58
Message-ID: CAKoxK+4+7sHnRJsjhK1KR9M=yhoXVfd2yW-uSaGWiQnDjdm=6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 12, 2019 at 4:47 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> wrote:
> So there is some "postgresql-check-db-dir" (not part of PostgreSQL) that complains
> that there is nothing in /data/postgresql/data. Is that accurate?
>

According to this
<https://www.postgresql.org/message-id/attachment/34217/postgresql-check-db-dir>
the script should check PGDATA does exist and contain the PG_VERSION
file or complains as shown in the logs.

> It looks like you succeeded in getting the startup process to look for the
> PostgreSQL data directory in the new location, but - alas - there is no data
> directory there yet.What's the content of

What's the content of $PGDATA?

Luca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chatterjee, Shibayan 2019-07-12 17:11:49 RE: Issue: Creating Symlink for data directory of postgresql in CentOS7
Previous Message Luca Ferrari 2019-07-12 16:55:19 Re: FATAL: invalid page in block 0 of relation global/1262