- I
apt-getinstalled Postgres 9.2.4 (using PPA). - I used
pg_dropcluster --stop 9.2 mainto remove the default database cluster, because I intended on creating a new cluster on a separate SSD volume (a Rackspace block storage volume) that was just mounted. - I created that new cluster whose data resides on my SSD volume and started it (
psshows all the normal Postgres processes running for that new cluster and I'm able to open a Postgres shell and run SQL - i.e., it's running fine). Now when I runpg_lsclustersthere are none listed.
The main cluster listed just fine before I deleted it. Why won't my new cluster show up, even when it's running? I've even rebooted the server (just in case).
pg_wrapperthough)initdb -D /the/dir/- I think I just realized that I should have usedpg_createcluster -d /the/dir/shouldn't I have? Are they both the same, minus whatever extra meta data that Postgres stores about the cluster? (I'm on Ubuntu 12.04.2)pg_ctlcluster 9.2 mycluster startpg_wrapperyou have to do so consistently.