Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eoddc-0007SN-PA for pgsql-general@arkaria.postgresql.org; Wed, 21 Feb 2018 23:17:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eodda-0002qR-B3 for pgsql-general@arkaria.postgresql.org; Wed, 21 Feb 2018 23:17:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eodda-0002q9-0K for pgsql-general@lists.postgresql.org; Wed, 21 Feb 2018 23:17:22 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eoddT-0006sh-8V for pgsql-general@lists.postgresql.org; Wed, 21 Feb 2018 23:17:20 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 84D6F9926E for ; Wed, 21 Feb 2018 15:17:12 -0800 (PST) Date: Wed, 21 Feb 2018 15:17:12 -0800 (PST) From: Rich Shepard To: "pgsql-general@lists.postgresql.org" Subject: Re: initdb when data/ folder has mount points In-Reply-To: <3eb5e598-e31d-83dd-e3f3-b1ca8c03117d@cox.net> Message-ID: References: <3eb5e598-e31d-83dd-e3f3-b1ca8c03117d@cox.net> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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