1.7.2: cp fails - skipping file as it was replaced while being copied

Shailo Sanyal ssanyal@ptc.com
Thu Apr 1 07:17:00 GMT 2010


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



More information about the Cygwin mailing list