Re: BUG #5725: server couldn't start when installing on liveCD - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #5725: server couldn't start when installing on liveCD
Date
Msg-id 1288105873-sup-1375@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #5725: server couldn't start when installing on liveCD  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: BUG #5725: server couldn't start when installing on liveCD  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@commandprompt.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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Recovery bug
Next
From: Tom Lane
Date:
Subject: Re: BUG #5725: server couldn't start when installing on liveCD