pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bryan Keller <bryanck@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Postgres on NAS/NFS
Date: Wed, 9 Feb 2011 11:31:29 -0800
Message-ID: <77A74B6C-A4BE-4659-A07A-2F03B617DF7B@gmail.com> (raw)

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 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?




view thread (13+ messages)  latest in thread

Message-ID: <77A74B6C-A4BE-4659-A07A-2F03B617DF7B@gmail.com>
Permalink:  ../77A74B6C-A4BE-4659-A07A-2F03B617DF7B@gmail.com/
Also on:    postgresql.org/message-id/77A74B6C-A4BE-4659-A07A-2F03B617DF7B@gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bryanck@gmail.com
  Subject: Re: Postgres on NAS/NFS
  In-Reply-To: <77A74B6C-A4BE-4659-A07A-2F03B617DF7B@gmail.com>

* 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