From: | Ben <bench(at)silentmedia(dot)com> |
---|---|
To: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Moving pg_xlog to another drive |
Date: | 2007-06-04 18:15:18 |
Message-ID: | Pine.LNX.4.64.0706041112540.27105@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, 4 Jun 2007, Joshua D. Drake wrote:
> Ben wrote:
>> I'm trying to move my WAL to another drive, but am having difficulties with
>> this seemingly simple process. Every time I start up with pg_xlog symlinked
>> to my other drive, I get this:
>>
>> FATAL: could not open file "pg_xlog/00000001.history": Permission denied
>>
>> If I move pg_xlog back into its normal place then things work fine. The
>> postgres user can certainly create files when using the symlink, so I
>> really don't think it's a permission issue... but I'm at a loss as to what
>> else it might be.
>
> Is the parent directory of the place you are moving pg_xlog to a place that
> the postgres user can enter?
Sorry, yes, I neglected to mention that the postgres user can enter every
directory along the path to the new pg_xlog directory. In addition,
pg_xlog remains owned by postgres.postgres, as does its parent directory,
and the new pg_xlog directory has permissions of 0700.
So I really can't see why it would be a permission issue.
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Atkins | 2007-06-04 18:25:54 | Re: Moving pg_xlog to another drive |
Previous Message | ABHANG RANE | 2007-06-04 18:12:00 | COPY error |