pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <gsmith@gregsmith.com>
To: Campbell, Lance <lance@uiuc.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Installing PostgreSQL
Date: Thu, 23 Aug 2007 13:25:42 -0400 (EDT)
Message-ID: <Pine.GSO.4.64.0708231301350.14476@westnet.com> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE8760197D29@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE8760197D29@SAB-FENWICK.sab.uiuc.edu>

On Thu, 23 Aug 2007, Campbell, Lance wrote:

> Should installation questions be sent here or to the admin listserv?

admin or general would be more appropriate for this type of question.

> The directory is called pgsql_data.  The directory is more than a 
> regular directory.  It contains a subdirectory called "lost+found".  I 
> would assume this is a logical partition.

It's a partition of some sort.  lost+found shows up in the root directory 
of any partition you create, it's where damaged files found by fsck go. 
See http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html for 
more information.

> I tried installing postgreSQL directly into this directory but it 
> failed since there is a file in this directory, "lost+found".  Is there 
> a way around this?  Worst case scenario I will create a subdirectory 
> called data and put the install in there.

You will have to create subdirectory in this new partition in order for 
initdb to have a place it can work in.  What you should probably do here 
is have your administrator rename the mount point to something more 
generic, like "data" or "postgres", to avoid confusion here; then you'd 
have PGDATA pointing to data/pgsql_data or postgres/pgsql_data which won't 
be as confusing.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD



view thread (6+ messages)  latest in thread

Message-ID: <Pine.GSO.4.64.0708231301350.14476@westnet.com>
Permalink:  ../Pine.GSO.4.64.0708231301350.14476@westnet.com/
Also on:    postgresql.org/message-id/Pine.GSO.4.64.0708231301350.14476@westnet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsmith@gregsmith.com, lance@uiuc.edu
  Subject: Re: Installing PostgreSQL
  In-Reply-To: <Pine.GSO.4.64.0708231301350.14476@westnet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox