Re: VMWare file system / database corruption

From: Vick Khera <vivek(at)khera(dot)org>
To: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: VMWare file system / database corruption
Date: 2009-09-21 17:53:10
Message-ID: 2968dfd60909211053t737418ebg4365c2fa542b8f09@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Sep 21, 2009 at 1:40 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
>  Even if properly setup NFS is a problem waiting to
> happen, and it's not reliable storage for a database in my opinion.

It reads to me that the VMware image is pulled from NFS, so as far as
Pg is concerned, it is speaking to a local disk. Whether that disk is
properly backed to disk is an open question. I don't know what kind
of durability guarantee postgres can give you if the VM itself is
read/written over a known not-100% reliable file system.

That is, does the sync() call inside the VM not return until the
underlying VM image data is on actual hard platters? I doubt it.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-09-21 18:01:49 Re: VMWare file system / database corruption
Previous Message Scott Marlowe 2009-09-21 17:44:15 Re: Storage of Foreign Keys