We have been able to reproduce the problem. You can monitor
the following CR in bugs.opensolaris.org to see when the fix
is available:
6875228 Issue with file copy from a CIFS share to the same share using
Windows.
Afshin
Alan.M.Wright wrote:
We'll take a look at it.
Thanks,
Alan
----- Original Message ----- From: "F Petrini" <[email protected]>
To: <[email protected]>
Sent: Saturday, August 22, 2009 4:26 AM
Subject: [cifs-discuss] File copy issue
Hi,
I have encountered an annoying issue with file copy from a CIFS share
to the same share using Windows.
The issue occurs when using the Win32 CopyFile function, in my case
.NET File.Copy().
The problem also occurs when using the command line 'copy' but not
with copy/paste in the explorer.
The result of the copy is a file with the same length as the source
but the content is all null bytes.
The issue only occurs when the source and destination is on the same
share.
Copying between shares on different machines (Windows Server <->
OpenSolaris, OpenSolaris <-> OpenSolaris) works.
I've reproduced the issue on OpenSolaris 2009.6 (111 and 118) and
Nexenta Core (104) using Windows Vista, Windows 7 and Windows Server
2008 as clients.
Windows XP as client works and doing the same thing on a Windows share
also works.
Here's how I reproduce the issue:
C:\>net use z: \\host\share
The command completed successfully.
C:\>z:
Z:\>echo hello> file1
Z:\>type file1
hello
Z:\>copy file1 file2
1 file(s) copied.
Z:\>type file2
Z:\>dir file*
2009-08-22 12:31 7 file2
2009-08-22 12:31 7 file1
2 File(s) 14 bytes
Hexdump:
file1: 68 65 6c 6c 6f 0d 0a |hello..|
file2: 00 00 00 00 00 00 00 |.......|
I can't find anything regarding this issue on the net and I've tried
everything I can think of...
Any ideas?
--
This message posted from opensolaris.org
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss