LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2009, 10:35 AM   #1
cipher7836
Member
 
Registered: Dec 2008
Posts: 35

Rep: Reputation: 15
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??
 
Old 06-15-2009, 10:40 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
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
 
Old 06-16-2009, 09:26 AM   #3
cipher7836
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cp or rsync szim90 Linux - Software 2 06-17-2007 01:11 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 01:10 PM
Rsync anickless Linux - Networking 2 11-21-2005 01:32 PM
rsync help! slack66 Linux - Newbie 1 10-27-2005 08:40 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM


All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration