Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: pgsql-general@postgresql.org
Date: 2001-05-22T16:52:39Z
Lists: 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