pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: anjali_524@yahoo.co.in
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6372: Error while creating database with fsync parameter as on incase of CIFS
Date: Mon, 02 Jan 2012 15:14:32 -0500
Message-ID: <1149.1325535272@sss.pgh.pa.us> (raw)
In-Reply-To: <CABUevEzRd6TT89dx5AG_ceLgrvg7KTpCFmM8=iKvVL-HRHoM6w@mail.gmail.com>
References: <E1RhkjA-0005bq-B6@wrigleys.postgresql.org>
	<CABUevEzRd6TT89dx5AG_ceLgrvg7KTpCFmM8=iKvVL-HRHoM6w@mail.gmail.com>

Magnus Hagander <magnus@hagander.net> writes:
> On Mon, Jan 2, 2012 at 17:27,  <anjali_524@yahoo.co.in> wrote:
>> PST ERROR:  could not fsync file "base/16409": Invalid argument Dec 30
>> 03:00:26 devok64-8 postgres_cifs_kaz_1[15812]: [2-2] [local] 15812
>> 2011-12-30 03:00:26.511 PST STATEMENT:  CREATE DATABASE "KazDB

The specific error seems to be coming from copydir.c's attempt to fsync
a directory.  We are already ignoring EBADF there, and could presumably
fix at least this symptom if we ignored EINVAL.

> PostgreSQL does not support data directory over CIFS.

I'm wondering what's your basis for asserting we don't support CIFS in
general?  It's probably not terribly bulletproof, but any worse than NFS?

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <1149.1325535272@sss.pgh.pa.us>
Permalink:  ../1149.1325535272@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1149.1325535272@sss.pgh.pa.us

 · 

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 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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, magnus@hagander.net, anjali_524@yahoo.co.in
  Subject: Re: BUG #6372: Error while creating database with fsync parameter as on incase of CIFS
  In-Reply-To: <1149.1325535272@sss.pgh.pa.us>
  References: <E1RhkjA-0005bq-B6@wrigleys.postgresql.org> <CABUevEzRd6TT89dx5AG_ceLgrvg7KTpCFmM8=iKvVL-HRHoM6w@mail.gmail.com> <1149.1325535272@sss.pgh.pa.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