From: Bruce Momjian <bruce@momjian.us>
To: Bryan Keller <bryanck@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres on NAS/NFS
Date: Wed, 16 Feb 2011 15:45:40 -0500 (EST)
Message-ID: <201102162045.p1GKje507355@momjian.us> (raw)
In-Reply-To: <9424C7B4-672D-4C64-BE6A-699708981C0B@gmail.com>
Bryan Keller wrote:
> I am considering running a Postgres with the database hosted on a NAS
> via NFS. I have read a few things on the Web saying this is not
> recommended, as it will be slow and could potentially cause data
> corruption.
>
> My goal is to have the database on a shared filesystem so in case of
> server failure, I can start up a standby Postgres server and point it
> to the same database. I would rather not use a SAN as I have heard
> horror stories about managing them. Also they are extremely expensive.
> A DAS would be another option, but I'm not sure if a DAS can be
> connected to two servers for server failover purposes.
>
> Currently I am considering not using a shared filesystem and instead
> using replication between the two servers.
>
> I am wondering what solutions have others used for my active-passive
> Postgres failover scenario? Is a NAS still not a recommended approach?
> Will a DAS work? Or is replication the best approach?
The last section of this documentation page talks about NFS usage:
http://www.postgresql.org/docs/9.0/static/creating-cluster.html
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruce@momjian.us, bryanck@gmail.com
Subject: Re: Postgres on NAS/NFS
In-Reply-To: <201102162045.p1GKje507355@momjian.us>
References: <9424C7B4-672D-4C64-BE6A-699708981C0B@gmail.com> <201102162045.p1GKje507355@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox