database on selected disk - Mailing list pgsql-admin

From Zahid Rahman
Subject database on selected disk
Date
Msg-id CAPGSW3Ruyer1SHLSV6ZQc9cLvUiQ_yFpMsLRVvXQb9SpY4C5VA@mail.gmail.com
Whole thread Raw
Responses Re: database on selected disk  (Vijaykumar Jain <vijaykumarjain.github@gmail.com>)
Re: database on selected disk  (Holger Jakobs <holger@jakobs.com>)
List pgsql-admin
Hi

I have two disks attached to my Raspberry pi 4 .

One disk is a 2TB with a partition called postgres on   /dev/sdb/sd1 .
When creating databases this is where I wish to create them.

This is not the disk with the operating system installed .
If I install postgres with pgadmin using  apt install,
any database I create  will be installed on  disk /dev/sda/sda1 by default.

Can you please give me a HOW-TO on choosing the partition on a
particular disk  when creating a database  or perhaps even a table.

Thanks
Zahid


https://www.backbutton.org
¯\_(ツ)_/¯
♡۶♡ ۶♡۶



pgsql-admin by date:

Previous
From: Massimo Ortensi
Date:
Subject: 32 TB size limit almost reached
Next
From: Vijaykumar Jain
Date:
Subject: Re: database on selected disk