X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4BB4481D.9000601@ptc.com>
Date: Thu, 01 Apr 2010 12:45:41 +0530
From: Shailo Sanyal <ssanyal@ptc.com>
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.1.9) Gecko/20100318 Lightning/1.0b1 Thunderbird/3.0.4
MIME-Version: 1.0
To: Eric Blake <eblake@redhat.com>
CC: cygwin@cygwin.com
Subject: Re: 1.7.2: cp fails - skipping file as it was replaced while being  copied
References: <4BB36E39.3090309@ptc.com> <4BB36ED8.5010803@redhat.com>
In-Reply-To: <4BB36ED8.5010803@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi Eric,

Here's the getVolInfo output on /cygdrive/h:
------------------------------------------
ssanyal@I4846-vm ~
$ /usr/lib/csih/getVolInfo /cygdrive/h
Device Type        : 7
Characteristics    : 10
Volume Name        : <it_home>
Serial Number      : 318955787
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 4004f
   FILE_CASE_SENSITIVE_SEARCH  : TRUE
   FILE_CASE_PRESERVED_NAMES   : TRUE
   FILE_UNICODE_ON_DISK        : TRUE
   FILE_PERSISTENT_ACLS        : TRUE
   FILE_FILE_COMPRESSION       : FALSE
   FILE_VOLUME_QUOTAS          : FALSE
   FILE_SUPPORTS_SPARSE_FILES  : TRUE
   FILE_SUPPORTS_REPARSE_POINTS: FALSE
   FILE_SUPPORTS_REMOTE_STORAGE: FALSE
   FILE_VOLUME_IS_COMPRESSED   : FALSE
   FILE_SUPPORTS_OBJECT_IDS    : FALSE
   FILE_SUPPORTS_ENCRYPTION    : FALSE
   FILE_NAMED_STREAMS          : TRUE
   FILE_READ_ONLY_VOLUME       : FALSE
   FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
   FILE_SUPPORTS_TRANSACTIONS  : FALSE
  ------------------------------------------

If it is any help, we have another NetApp share (which seems to be setup 
a little different than /cygdrive/h) that does not exhibit the same symptom:
------------------------------------------
ssanyal@I4846-vm ~
$ /usr/lib/csih/getVolInfo /cygdrive/z
Device Type        : 7
Characteristics    : 10
Volume Name        : <pdist7>
Serial Number      : 50415496
Max Filenamelength : 255
Filesystemname     : <FAT>
Flags              : 40007
   FILE_CASE_SENSITIVE_SEARCH  : TRUE
   FILE_CASE_PRESERVED_NAMES   : TRUE
   FILE_UNICODE_ON_DISK        : TRUE
   FILE_PERSISTENT_ACLS        : FALSE
   FILE_FILE_COMPRESSION       : FALSE
   FILE_VOLUME_QUOTAS          : FALSE
   FILE_SUPPORTS_SPARSE_FILES  : FALSE
   FILE_SUPPORTS_REPARSE_POINTS: FALSE
   FILE_SUPPORTS_REMOTE_STORAGE: FALSE
   FILE_VOLUME_IS_COMPRESSED   : FALSE
   FILE_SUPPORTS_OBJECT_IDS    : FALSE
   FILE_SUPPORTS_ENCRYPTION    : FALSE
   FILE_NAMED_STREAMS          : TRUE
   FILE_READ_ONLY_VOLUME       : FALSE
   FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
   FILE_SUPPORTS_TRANSACTIONS  : FALSE
------------------------------------------

I can copy files from /cygdrive/z and the inode does not change in the 
"ls -li" output.

Let me know if you need any other information. Thanks for looking into this!

Shailo

------------------------------------------------------------------------

*From: *Eric Blake
*Sent: *Wed Mar 31 09:48:40 2010
*To: *cygwin, ssanyal
*Cc: *
*Subject: *Re: 1.7.2: cp fails - skipping file as it was replaced while 
being
  copied



On 03/31/2010 09:46 AM, Shailo Sanyal wrote:
> When I try to copy a file from a drive which maps a CIFS share from a
> NetApp filer I get the following error:

We need more details about that drive.  Please include the output of
/usr/lib/scih/getVolInfo /cygdrive/h.

> According to the 1.7.2 doc -
> http://www.cygwin.com/cygwin-ug-net/ov-new1.7.html
> this issue has been fixed but I am still facing the problem.

The issue is only fixed for buggy drives that we know about.  It's
amazing how many variants of buggy drives are out there that we don't
know about.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

