Re: initdb error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb error
Дата
Msg-id 12489.1355435661@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: initdb error  (David Noel <david.i.noel@gmail.com>)
Список pgsql-general
David Noel <david.i.noel@gmail.com> writes:
> On 12/13/12, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> (I"m wondering if zfs has issues with the O_DIRECT flag that we'll
>> probably try to use with pg_xlog files.)

> I /boot off of a UFS volume so I created a directory there, chown and
> chmod'ed it, then ran initdb again. Same error, unfortunately.

Hm.  So far as I can find from googling, ZFS doesn't support O_DIRECT,
or if it does the support is very new.  However, if that were the
problem then you ought to be seeing EINVAL or similar, not ENOENT;
and what's more the file should have gotten created before we'd try to
open it with O_DIRECT, so it should have been there after --noclean.

So I'm still baffled.  Back to wondering if strace will show anything
interesting.

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: David Noel
Дата:
Сообщение: Re: initdb error
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: initdb error