Rsync help
WINDOWS SHARE NAME AND O/S VERSION: "sys" on a Windows 2003 domain controller
FDISK: //192.168.1.196/netdisk3 on /mnt/netdisk3 type cifs (rw,mand) //192.168.1.6/sys on /mdc/sys type cifs (rw,mand) COMMAND RUNNING: root /usr/bin/rsync -avz --size-only --ignore-errors /mdc/sys/ /mnt/netdisk3 ERRORS: rsync: readdir("/mdc/sys/Docs/test2"): Permission denied (13) Not part of error message...{Linux Permissions: drwxrwxrwx Windows Security: All permissions granted to a user called root/wd-netcenter/root.} rsync: chown "/mnt/netdisk3/Abe Temp" failed: Permission denied (13) Not part of error message...{Linux Permissions: drwxrwxrwx Windows Security: All permissions granted to a user called root/wd-netcenter/root.} Hello all, I was hoping someone could help me out with this issue. Here's what I'm doing: We have a share on a Windows DC. We just want to run rsync on that share to an external drive. It seems to work but I get a lot of errors of which two I posted above because it seems those are the most common. After running rysnc I see the following: /mnt/netdisk3 and /mdc/sys are roughly equal in size. (If I use Windows "properties" when viewing both directories.) How could I make sure that EVERYTHING has been synced correctly? I would hate to be asked for a directory that never synced. Any advice/tips?? |
You could create a hash, and compare, though judging by the error messages, that'll probably not work. How about a script to read the error messages, take the filenam specified and then checking whether they exist? It probably only errored files that are less likely to be there
|
Thanks for the response.
I was thinking that maybe some items weren't being synched because of the errors. But when I look at both locations in Windows they are roughly the same size. If I was just synchronizing would a "chown not permitted" keep any files from synchronizing? |
All times are GMT -5. The time now is 10:35 AM. |