From: David Stanaway <david@netventures.com.au>
To: pgsql-admin@postgresql.org
Subject: Re: Problems running postgres on XFS+LVM on Linux
Date: Tue, 3 Jul 2001 18:41:01 +1000
Message-ID: <E15HMBu-0004Uz-00@runt.in.netventures.com.au> (raw)
In-Reply-To: <E15HEzN-0003uZ-00@runt.in.netventures.com.au>
On Tuesday, July 3, 2001, at 10:59 AM, David Stanaway wrote:
> Hi,
>
> I am in the process of migrating a test system to using SGI's
> linux-2.4-xfs kernel, and have moved
> postgresql's /var/lib/postgres/data onto a seperate lv formated with
> XFS.
>
> Now postmaster fails to start correctly and consumes 100% of one CPU.
Its nice to be able to answer my own questions. :)
The problem was ownership and permisions of /var/lib/postgres/data
When I created the new filesystem and mount point
The permisions of this directory were incorrect:
drwxr-xr-x 5 root root 4096 Jul 4 04:33 data
When I set it to the correct state:
drwx------ 5 postgres postgres 4096 Jul 4 04:33 data
All was fine :)
No problems experienced yet, and I hope I didn't deter anyone from
trying XFS or LVM on linux.
--
Best Regards
David Stanaway
========================.---------------------------------------------
Technology Manager - Australia's Premier Internet Broadcasters
david@NetVentures.com.au Office +612 9357 1699
========================'---------------------------------------------
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: david@netventures.com.au
Subject: Re: Problems running postgres on XFS+LVM on Linux
In-Reply-To: <E15HMBu-0004Uz-00@runt.in.netventures.com.au>
References: <E15HEzN-0003uZ-00@runt.in.netventures.com.au> <E15HMBu-0004Uz-00@runt.in.netventures.com.au>
* 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