Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 5F5311E16586 for ; Tue, 10 Jan 2012 02:02:43 -0400 (AST) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RkUn9-0005mP-Gx for pgsql-bugs@postgresql.org; Tue, 10 Jan 2012 06:02:43 +0000 Received: from [204.145.120.229] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RkUmx-000090-20 for pgsql-bugs@postgresql.org; Tue, 10 Jan 2012 06:02:27 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1RkUmw-0002zL-Gd for pgsql-bugs@postgresql.org; Tue, 10 Jan 2012 06:02:26 +0000 Date: Tue, 10 Jan 2012 06:02:26 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6389: Fsync failed while creating DB To: pgsql-bugs@postgresql.org From: anjali_524@yahoo.co.in X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/67 X-Sequence-Number: 32134 The following bug has been logged on the website: Bug reference: 6389 Logged by: Anjali Arora Email address: anjali_524@yahoo.co.in PostgreSQL version: 9.0.4 Operating system: CentOS Description: = It is reference to bug#6372.. Hi Tom, = Thanks for the solution. CIFS worked with fsync flag by ingnoring EINVAL in copydir.c. = = I tested fsync with 8.2.2 version of PostgreSQL, it worked fine without EINVAL patch. I wanted to know is something changed in version 9.0.4 of postgreSQL. = As fsync flag was not working with PostgreSQL version 9.0.4 without applying the patch. = Regards, Anjali