- I
apt-get
installed Postgres 9.2.4 (using PPA). - I used
pg_dropcluster --stop 9.2 main
to 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 (
ps
shows 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_lsclusters
there 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_wrapper
though) – Craig Ringer Jun 6 at 3:51initdb -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) – orokusaki Jun 6 at 3:53pg_ctlcluster 9.2 mycluster start
– orokusaki Jun 6 at 3:59pg_wrapper
you have to do so consistently. – Craig Ringer Jun 6 at 4:10