Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3372380

Browse files
committed
Document possible problems with NFS tablespaces.
1 parent 5e0377a commit 3372380

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

doc/src/sgml/manage-ag.sgml

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.55 2007/11/04 19:43:33 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.56 2007/11/04 21:40:02 momjian Exp $ -->
22

33
<chapter id="managing-databases">
44
<title>Managing Databases</title>
@@ -495,5 +495,31 @@ SELECT spcname FROM pg_tablespace;
495495
the old tablespace locations.)
496496
</para>
497497

498+
<sect2 id="manage-ag-tablespaces-nfs">
499+
<title>Network File Systems</title>
500+
501+
<indexterm zone="manage-ag-tablespaces-nfs">
502+
<primary>Network File Systems</primary>
503+
</indexterm>
504+
<indexterm><primary><acronym>NFS</></><see>Network File Systems</></>
505+
<indexterm><primary>Network Attached Storage (<acronym>NAS</>)</><see>Network File Systems</></>
506+
507+
<para>
508+
Many installations create tablespace on network file systems.
509+
Sometimes this is done directly via <acronym>NFS</>, or by using a
510+
Network Attached Storage (<acronym>NAS</>) device that uses
511+
<acronym>NFS</> internally. <productname>PostgreSQL</> does nothing
512+
special for <acronym>NFS</> file systems, meaning it assumes
513+
<acronym>NFS</> behaves exactly like locally-connected drives. If
514+
client and server <acronym>NFS</> implementations have non-standard
515+
semantics, this can cause reliability problems (see <ulink
516+
url="http://www.time-travellers.org/shane/papers/NFS_considered_harmful.html"></ulink>).
517+
Specifically, delayed (asynchonous) writes to the <acronym>NFS</>
518+
server can cause reliability problems; if possible, mount
519+
<acronym>NFS</> file systems synchonously to avoid this.
520+
</para>
521+
522+
</sect2>
523+
498524
</sect1>
499525
</chapter>

0 commit comments

Comments
 (0)