Re: could not fsync file ""pg_wal/xlogtemp.23229"": Input/output error

From: Soni M <diptatapa(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: could not fsync file ""pg_wal/xlogtemp.23229"": Input/output error
Date: 2021-01-15 09:40:39
Message-ID: CAAMgDX=RajSKgYqeGpTJA11=LUpknDHq75AmEBCWz2JnpGnSBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

More disk space now available, but still the error happens and postgres
won't start.
I think it could be corrupted shared buffers, as stated on the log
messages, and perhaps the corruption goes to disk.

On Fri, Jan 15, 2021 at 4:33 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
wrote:

> On Fri, 2021-01-15 at 16:13 +0700, Soni M wrote:
> > We filled out the wal archive disk, and then those messages appear
> >
> > [...]PANIC,58030,"could not fsync file ""pg_wal/xlogtemp.3510"":
> Input/output error"
> >
> > And now I cannot start postgres
> >
> > [...]PANIC,58030,"could not fsync file ""pg_wal/xlogtemp.23229"":
> Input/output error"
> >
> > Any idea to solve this ?
>
> Did you add more disk space?
>
> You won't be able to start PostgreSQL unless you do that.
>
> And no, don't start deleting files in the data directory.
>
> What you can do is move the *complete* data directory to another location
> with more disk space and start it there.
>
> Yours,
> Laurenz Albe
> --
> Cybertec | https://www.cybertec-postgresql.com
>
>

--
Regards,

Soni Maula Harriz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Niels Jespersen 2021-01-15 10:33:38 time-based range partitioning and truncate/delete different timezones
Previous Message Laurenz Albe 2021-01-15 09:33:36 Re: could not fsync file ""pg_wal/xlogtemp.23229"": Input/output error