Re: BUG #5725: server couldn't start when installing on liveCD

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: VMaury <vmaury79(at)yahoo(dot)fr>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5725: server couldn't start when installing on liveCD
Date: 2010-10-26 15:14:04
Message-ID: 1288105873-sup-1375@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Excerpts from Robert Haas's message of lun oct 25 23:37:31 -0300 2010:
> On Mon, Oct 25, 2010 at 5:43 PM, Alvaro Herrera
> <alvherre(at)commandprompt(dot)com> wrote:

> > Hmm, my manpage says that open() could fail with EINVAL if O_DIRECT is
> > used and not supported by the filesystem.  We use O_DIRECT in some
> > wal_sync_method configurations.  Maybe the Ubuntu live is not getting
> > that flag right.

> If this really is caused by a WAL setting that's incompatible with the
> filesystem, maybe we should add a HINT. This makes two reports today,
> plus apparently at least one more on the Ubuntu sight.

Maybe we should retry the syscall without the flag in the EINVAL case.
It's not a critical flag for correctness, just desired for performance.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-10-26 15:22:34 Re: BUG #5725: server couldn't start when installing on liveCD
Previous Message Vincent Maury 2010-10-26 13:17:36 Re: BUG #5725: server couldn't start when installing on liveCD