| From: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | initdb, separate fileystem? |
| Date: | 2001-12-13 01:20:27 |
| Message-ID: | 1008206428.9293.0.camel@jiro |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi all, (Cc: me on responses please)
I've got Postgres (v7.1.2) installed on HPUX 11.11. My Postgres install
is in /opt/pgsql. I'd like to setup the data directory to be
/pgsql-data. Because this directory is a mount of a separate filesystem,
HPUX has created a "lost+found" directory in it. When I run "initdb -D
/pgsql-data", I get:
-----
This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server
process.
initdb: The directory /pgsql-data exists but is not empty.
If you want to create a new database system, either remove or empty
the directory /pgsql-data or run initdb with
an argument other than /pgsql-data.
-----
The only content of /pgsql-data is the "lost+found" directory (which is
empty).
Is this a bug? Other than making the data directory somewhere else, how
can I get this to work? It seems like Postgres should, _at least_, let
me override it's (paranoid) behavior.
Thanks in advance,
Neil
P.S. As I mentioned before, please Cc: me on responses. I'd use the
archives, but they seem to be at least partially broken: you can't
search them, for one thing. Is this a known issue?
--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joseph Shraibman | 2001-12-13 02:35:56 | dropping foreign keys |
| Previous Message | Gavin Sherry | 2001-12-13 00:30:10 | Re: [GENERAL] ACK table corrupted, unique index violated. |