Hmmm, it's strange. I actually don't see the calls that I was looking
for in the output? Could you run the updated script (attached)?
Please also post a network capture from the operation so that I
can see what actually is happening over the network.
Thanks,
Afshin
Jay Anderson wrote:
I set up a single file that would fail, and ran robocopy. The robocopy command
and output is listed below. The output from the dtrace script can be found at
http://jayd.freeshell.org/sdwrite.txt. The unresolvable SIDs that cause the
problem are:
S-1-5-21-144191708-1373204103-1923745731-512
S-1-5-21-144191708-1373204103-1923745731-513
I don't see these SIDs listed in the dtrace script output.
Thank you.
robocopy \\netapp2\c$\ftxhome\Data\rctest\CHASTONW \\sal
ad\share0\ftxhome\Data\rctest\CHASTONW /MIR /B /COPY:DATSO /W:0 /R:1 /NDL /NFL
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP026
-------------------------------------------------------------------------------
Started : Thu Oct 16 09:13:07 2008
Source : \\netapp2\c$\ftxhome\Data\rctest\CHASTONW\
Dest : \\salad\share0\ftxhome\Data\rctest\CHASTONW\
Files : *.*
Options : *.* /NDL /NFL /S /E /COPY:DATSO /PURGE /MIR /B /R:1 /W:0
------------------------------------------------------------------------------
2008/10/16 09:13:08 ERROR 1338 (0x0000053A) Copying NTFS Security to Destination
Directory \\netapp2\c$\ftxhome\Data\rctest\CHASTONW\
The security descriptor structure is invalid.
2008/10/16 09:13:08 ERROR 1338 (0x0000053A) Copying NTFS Security to Destination
Directory \\netapp2\c$\ftxhome\Data\rctest\CHASTONW\
The security descriptor structure is invalid.
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 1 0 0 0 0
Files : 1 0 0 0 1 0
Bytes : 11.0 k 0 0 0 11.0 k 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Thu Oct 16 09:13:08 2008
--
This message posted from opensolaris.org
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
#!/usr/sbin/dtrace -s
#pragma D option flowindent
smb_sd_write:entry
{
sr = (smb_request_t *)arg0;
printf("filename=%s, secinfo=%x\n",
stringof(sr->fid_ofile->f_node->od_name), arg2);
}
kidmap_batch_getuidbysid:entry,
kidmap_batch_getgidbysid:entry,
kidmap_batch_getpidbysid:entry,
kidmap_getuidbysid:entry,
kidmap_getgidbysid:entry,
kidmap_getpidbysid:entry
{
printf("%s-%d\n", stringof(arg1), arg2);
}
smb_fsop_sdwrite:entry
{
node = (smb_node_t *)arg2;
printf("filename=%s\n", stringof(node->od_name));
}
smb_fsop_create_with_sd:entry
{
printf("filename=%s\n", stringof(arg3));
}
smb_vop_create:entry
{
printf("filename=%s, flags=%x, vsap=%p\n", stringof(arg1), arg4, arg6);
}
smb_fsacl_to_vsa:entry,
fop_setsecattr:entry,
smb_vop_acl_write:entry,
smb_fsop_sdmerge:entry,
smb_fsop_setattr:entry,
smb_fsop_aclwrite:entry,
smb_idmap_batch_getmappings:entry,
smb_idmap_batch_binsid:entry,
smb_idmap_getid:entry,
smb_sd_get_secinfo:entry,
smb_sd_tofs:entry
{
}
smb_acl_to_zfs:entry
{
printf("flags=%x, which_acl=%x\n", arg1, arg2);
}
smb_vop_create:return,
smb_fsacl_to_vsa:return,
smb_fsop_create_with_sd:return,
smb_sd_get_secinfo:return,
fop_setsecattr:return,
smb_vop_acl_write:return,
smb_fsop_sdwrite:return,
smb_fsop_sdmerge:return,
smb_fsop_setattr:return,
smb_fsop_aclwrite:return,
smb_idmap_*:return,
smb_acl_to_zfs:return,
kidmap_batch_getuidbysid:return,
kidmap_batch_getgidbysid:return,
kidmap_batch_getpidbysid:return,
kidmap_getuidbysid:return,
kidmap_getgidbysid:return,
kidmap_getpidbysid:return,
smb_sd_tofs:return,
smb_sd_write:return
{
printf("rc=%d\n", arg1);
}
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss