Try robocopy with parameter /MIR /b /COPY:DATS

ex a mirror command:
 roboycopy \\source\folder \\target\folder /MIR /b /COPY:DATS

/b is needed, if you like to copy ACL, do not use the owner option


Gea
napp-it.org

Am 12.05.2014 um 13:41 schrieb Gabriele Bulfon via illumos-discuss 
<discuss@lists.illumos.org>:

> Hi,
> 
> I experienced a strange problem twice, then discovering that robocopy was 
> causing the issue.
> 
> A ZFS storage server, with CIFS integrated on the customer AD, multiple zfs 
> shares on CIFS.
> 
> A specific CIFS share has the root file system with AD permission for 
> Administrators full control,
> while Domain Users can create/delete etc from the root onward.
> 
> ==FIRST TIME ISSUE==
> The IT guy created a robocopy script running on the PDC over the CIFS share, 
> to manipulate all the
> files on the share searching for files older than a specific date, and move 
> them into a specific root
> subfolder of the same share (some kind of archiving).
> 
> This script was running on a Saturday.
> Next Monday nobody was able to connect to the share, no permission, not even 
> the administrator.
> I tried changing ACL by hand on the storage but no way. Dead share.
> 
> That first time I could create a new share, copy over all the content, set 
> all the original permission
> via ACL, rename the old share, share the new one as the old one and 
> everything was fine again.
> 
> ==SECOND TIME ISSUE==
> Later, the IT guy launched the robocopy again on Saturday.
> Monday the new share was dead again.
> Instead of doing again the copy and new share, I decided to dig more the 
> problem.
> Before giving up, I asked the IT guy to reboot all the storage.
> Everything was up again after reboot!
> 
> 
> 
> Anybody knows what may be the issue with robocopy on CIFS??
> How can it corrupt CIFS sharing??
> 
> Gabriele.
> 
> 
> illumos-discuss | Archives  | Modify Your Subscription         




-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to