Re: Network Storage Devices / NFS ...

From: "Matthew D(dot) Fuller" <fullermd(at)over-yonder(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Network Storage Devices / NFS ...
Date: 2005-06-03 03:29:47
Message-ID: 20050603032947.GB3092@over-yonder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jun 02, 2005 at 10:19:38PM -0300 I heard the voice of
Marc G. Fournier, and lo! it spake thus:
>
> Anyone actually dealing with a configuration using this for your
> data drives? I'm looking for more details on what exactly they are
> using for the NFS server, but I have a client reporting that their
> pg_xlog directory is *full* of .nfs* files that are 'months old' ...
> I'm suspecting that this is some sort of temp file that the NFS
> itself is creating, and is safe to just delete, but am wondering if
> someone out there knows more definitively ... ?

As I recall, that's a side-effect of deleting files on NFS, because of
the statelessness. If one client has a file open, and another client
deletes it, or two processes on the same client have it open and
deleted respectively, or something on the server... I can't remember
which case it is. But they're renames of files that were "deleted".
If nothing has them open (fstat or lsof or something) they should be
safe to delete (but don't blame me if it blows up!).

--
Matthew Fuller (MF4839) | fullermd(at)over-yonder(dot)net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Marc G. Fournier 2005-06-03 03:45:08 Re: Network Storage Devices / NFS ...
Previous Message Marc G. Fournier 2005-06-03 01:19:38 Network Storage Devices / NFS ...