Re: Strange issue with NFS mounted PGDATA on ugreen NAS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strange issue with NFS mounted PGDATA on ugreen NAS
Date
Msg-id 4150172.1735685069@sss.pgh.pa.us
Whole thread Raw
In response to Re: Strange issue with NFS mounted PGDATA on ugreen NAS  (Larry Rosenman <ler@lerctr.org>)
Responses Re: Strange issue with NFS mounted PGDATA on ugreen NAS
List pgsql-hackers
Larry Rosenman <ler@lerctr.org> writes:
> On 12/31/2024 12:22 pm, Larry Rosenman wrote:
>> When I try to drop a database, PostgreSQL leaves files in the directory 
>> and does not even try to delete them.
>> PostgreSQL 16.6, FreeBSD 14.2, PGDATA mounted NFS from UGreen NAS.

FWIW, I couldn't reproduce such a problem with PG running on macOS
Sequoia and using an NFS mount from a RHEL8 machine.  (I tried with
current master code, but I don't believe that we fixed any related
bugs recently.)

Can you try some other combinations of host OS and NFS source,
and see if you can identify what's needed to cause the failure?

What it looks like is that readdir() is skipping over some files,
which would almost certainly be an NFS server bug.  But that
theory could be wrong.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: add vacuum starttime columns
Next
From: Thomas Munro
Date:
Subject: Re: Strange issue with NFS mounted PGDATA on ugreen NAS