Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Date
Msg-id 200105221652.f4MGqd406450@candle.pha.pa.us
Whole thread Raw
In response to Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-general
Looks safe.  Patch applied.

> I found the answer to this: the partition had filled up, and so the problem
> was lack of disk space.
>
> Could we have a more helpful error message?  I was just looking in the
> wrong direction because of the contents of the message.
>
> *** postgresql-7.1.1.orig/src/backend/access/transam/xlog.c    Tue May 22
> 16:45:14 2001
> --- postgresql-7.1.1/src/backend/access/transam/xlog.c    Tue May 22 16:48:12
> 2001***************
> *** 1334,1340 ****
>               unlink(tmppath);
>               errno = save_errno;
>
> !             elog(STOP, "ZeroFill(%s) failed: %m", tmppath);
>           }
>       }
>
> --- 1334,1340 ----
>               unlink(tmppath);
>               errno = save_errno;
>
> !             elog(STOP, "ZeroFill failed to create or write %s: %m", tmppath);
>           }
>       }
>
>
> --
> Oliver Elphick                                Oliver.Elphick@lfix.co.uk
> Isle of Wight                              http://www.lfix.co.uk/oliver
> PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
> GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
>                  ========================================
>      "We are troubled on every side, yet not distressed; we
>       are perplexed, but not in despair; persecuted, but not
>       forsaken; cast down, but not destroyed; Always bearing
>       about in the body the dying of the Lord Jesus, that
>       the life also of Jesus might be made manifest in our
>       body."        II Corinthians 4:8-10
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Next
From: "Marcin Wasilewski"
Date:
Subject: Postgresql - multibyte