Daniel Bautista <dnbautista@yahoo.com> writes:
> I have installed PostgreSQL 7.1.3, but I am having
> problems when I try to do "initdb".
> I have two partitions: one in /, which has the Linux
> SO and is full (no space available), and one in
> /usr/local, which has 16 GB free. When I type
> "./initdb --pgdata=/usr/local/postgres/data" or
> "./initdb -D ..." (in /usr/local/pgsql) the next error
> appears:
> "[...]
> Creating systems views.
> Loading pg_description.
> cat: write error: No space left on device
> cat: write error: No space left on device
How full is "full"? I think that initdb will fail if there's not room
to create a couple-hundred-kilobyte work file in /tmp. You may need to
make /tmp be a symlink to someplace on the volume that has free space.
regards, tom lane