public inbox for [email protected]  
help / color / mirror / Atom feed
From: Sam Stearns <[email protected]>
To: Scott Ribe <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: Alternate Datafile Location
Date: Fri, 30 Aug 2024 09:10:12 +0930
Message-ID: <CAN6TVjm_ri4B5TRjuu-w3=OWoFPb+9Me1_zma8uDi0p4CTyALg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAN6TVjn=4TOm7OLOw7VoOBY9+XVe2YcxV_z1xZtF-Qp_7gddvA@mail.gmail.com>
	<CANzqJaDLXqmNXM01sCQr-h-eJUGH+qPLymmLW8uv9A3qEzraAQ@mail.gmail.com>
	<CAN6TVjmfO+nrJ6xhBci=EDKdmq0D4o3vYPNuZsvOfBw6TPV9=Q@mail.gmail.com>
	<[email protected]>

[postgres@thiludbapql01 ~]$ createdb baptest -D /PGDATA
createdb: error: database creation failed: ERROR:  tablespace "/PGDATA"
does not exist
[postgres@thiludbapql01 ~]$


The directory /PGDATA exists.

[postgres@thiludbapql01 ~]$ df -h /PGDATA
Filesystem                      Size  Used Avail Use% Mounted on
/dev/mapper/pgdatavg-pgdatavol  2.3T   28K  2.2T   1% /PGDATA
[postgres@thiludbapql01 ~]$

On Fri, Aug 30, 2024 at 9:03 AM Scott Ribe <[email protected]>
wrote:

> > On Aug 29, 2024, at 5:29 PM, Sam Stearns <[email protected]> wrote:
> >
> > That's fine as long as we can create databases with datafile storage on
> an alternate filesystem.  I don't see anywhere in the documentation how to
> do that.
>
> -D <directory>



-- 

*Samuel Stearns*
Lead Database Administrator
*c:* 971 762 6879 | *o:* 503 672 5115 | DAT.com
[image: DAT]
<https://www.dat.com/?utm_medium=email&utm_source=DAT_email_signature_link;


view thread (11+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Alternate Datafile Location
  In-Reply-To: <CAN6TVjm_ri4B5TRjuu-w3=OWoFPb+9Me1_zma8uDi0p4CTyALg@mail.gmail.com>

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

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