From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: initdb when data/ folder has mount points
Date: Wed, 21 Feb 2018 15:17:12 -0800 (PST)
Message-ID: <alpine.LNX.2.20.1802211514430.29124@salmo.appl-ecosys.com> (raw)
In-Reply-To: <3eb5e598-e31d-83dd-e3f3-b1ca8c03117d@cox.net>
References: <3eb5e598-e31d-83dd-e3f3-b1ca8c03117d@cox.net>
On Wed, 21 Feb 2018, Ron Johnson wrote:
> Apparently, initdb assumes that data/ is one big mount point. However, we
> have four mount points:
> /var/lib/pgsql/9.6/data/backup
> /var/lib/pgsql/9.6/data/base
> /var/lib/pgsql/9.6/data/pg_log
> /var/lib/pgsql/9.6/data/pg_xlog
Ron,
What command do you use? Here, on Slackware-14.2, /var/lib/psql/10.2/data/
contains:
PG_VERSION pg_ident.conf pg_snapshots pg_wal
base pg_logical pg_stat pg_xact
global pg_multixact pg_stat_tmp postgresql.auto.conf
pg_commit_ts pg_notify pg_subtrans postgresql.conf
pg_dynshmem pg_replslot pg_tblspc postmaster.opts
pg_hba.conf pg_serial pg_twophase postmaster.pid
The 9.6 version was the same.
The command I use (as user postgres) is:
initdb -D /var/lib/pgsql/10.2/data &
HTH,
Rich
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: rshepard@appl-ecosys.com
Subject: Re: initdb when data/ folder has mount points
In-Reply-To: <alpine.LNX.2.20.1802211514430.29124@salmo.appl-ecosys.com>
References: <3eb5e598-e31d-83dd-e3f3-b1ca8c03117d@cox.net> <alpine.LNX.2.20.1802211514430.29124@salmo.appl-ecosys.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