Postmaster running out of discspace; Data corruption?

Started by Hannes Dorbathabout 21 years ago3 messagesgeneral
Jump to latest
#1Hannes Dorbath
light@theendofthetunnel.de

Hi,
one of our servers did accidently run out of discspace during a huge
data load. Postmaster closed the connection with `no space left on
device, cannot write x_log' or something similar. We have fsync=false on
that machine. Do we have to fear data corruption? Postmaster continued
as normal (without a restart) after we freed some space on the drive and
did a VACUUM FULL.

Thanks in advance

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Hannes Dorbath (#1)
Re: Postmaster running out of discspace; Data corruption?

Hannes Dorbath <light@theendofthetunnel.de> writes:

one of our servers did accidently run out of discspace during a huge
data load. Postmaster closed the connection with `no space left on
device, cannot write x_log' or something similar. We have fsync=false on
that machine. Do we have to fear data corruption?

No. The reason PG treats out-of-xlog-space as a PANIC is exactly so
that it won't do anything it can't log safely. Once you get past the
postmaster restart you're fine.

regards, tom lane

#3Hannes Dorbath
light@theendofthetunnel.de
In reply to: Tom Lane (#2)
Re: Postmaster running out of discspace; Data corruption?

ok :)

Thank you

Show quoted text

On 05.04.2005 18:11, Tom Lane wrote:

Hannes Dorbath <light@theendofthetunnel.de> writes:

one of our servers did accidently run out of discspace during a huge
data load. Postmaster closed the connection with `no space left on
device, cannot write x_log' or something similar. We have fsync=false on
that machine. Do we have to fear data corruption?

No. The reason PG treats out-of-xlog-space as a PANIC is exactly so
that it won't do anything it can't log safely. Once you get past the
postmaster restart you're fine.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly