rsync not copying all files from smb-mounted fs


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users rsync not copying all files from smb-mounted fs
# 1  
Old 09-30-2005
Question rsync not copying all files from smb-mounted fs

We have an old windows server here, with a relatively large share upon it (200GB, 1-2 million files). Our entire network is Linux (RH8.0) based, and we therefore automount this using the samba client.

We have just begun migration to a linux fileserver, to save ourselves having to use lovely Windoze... Smilie but we have a small problem:

When we run 'rsync -avz /rmt/smbfs /linuxfs' it hasn't actually copied all the files.

Is this a problem with rsync, or a problem with samba? Perhaps it's a problem with Windows, in which case, i just don't care any more! lol

If it is a problem with rsync or samba, can we leave this topic where it is to try and troubleshoot? Admittedly, if it does look like a Windoze problem, lets move this to the Windows forum, but to me it looks like a samba issue...
# 2  
Old 10-03-2005
You havent posted any error message.
Put a second "v" in the options so it looks like:

Code:
rsync -avvz /rmt/smbfs /linuxfs

Then post back some meaningful info.

Last edited by dangral; 10-03-2005 at 04:35 PM.. Reason: typo
# 3  
Old 10-04-2005
a little difficult unfortunately... this rsync was done a while ago, and the windows volume housing the data has since been nuked. We got the missing files from tape in the end, but it does mean the test is unrepeatable...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync copying within recent date range?

As many will point out, one of the benefits of using rsync (without --delete) is that it will sync files between source and destination, but not delete files in the destination which HAVE been deleted in the source. Well, I have kind of the opposite problem and I'm wondering if there are date... (2 Replies)
Discussion started by: WIOP33
2 Replies

2. OS X (Apple)

Refresh smb mounted volumes

I have found sometimes that the shell won't see updated folders on a smb share. If I run a script (tsch), that checks the existence of folders: foreach ITEM ( list of directories) if ! ( -e $ITEM ) then echo "$ITEM does not exist" echo "" set ERROR = 1 endif If... (0 Replies)
Discussion started by: deepstructure
0 Replies

3. Solaris

NFS mounted files

If I am not a system admin. How can I tell where a particular mounted file is mounted from. (12 Replies)
Discussion started by: Harleyrci
12 Replies

4. UNIX for Advanced & Expert Users

Unable to get the mounted files in .gvfs

I am using ubuntu and I used to mount the remote machine directory using the menu 'Places -> Connect to Server' . And I will use SSH as service type. Usually the mounted files will available in the ~/.gvfs directory.But now I could get the files in the GUI but I could not get the files in the... (0 Replies)
Discussion started by: karthigayan
0 Replies

5. Shell Programming and Scripting

Apache/CGI Bin Accessing mounted SMB share

Hey Guys, I need to copy some files from my Apache server to SMB share ... copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix" Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Discussion started by: NDxiak
1 Replies

6. Shell Programming and Scripting

copying links/files using rsync command

Hi I am using rsync command to copy the likes like bwlow rsync -vaR krish/harris/test data/charles I am running this script in test1 folder but the krish/harssis /test is existed in test2 folder. So when i run this command am getting the error like rsync: link_stat... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies

7. UNIX for Dummies Questions & Answers

Samba - smb files

I found this tutorial "Setting Samba in 10 min". It says there that command "/etc/rc.d/init.d/smb start or stop, or /sbin/service/smb restart should do this functions. But this doesn't work for me. Wrong dir. I don't even have "rc.d" dir. Where should I look for this samba files? In samba dir all... (1 Reply)
Discussion started by: salvor_hardin
1 Replies

8. UNIX for Dummies Questions & Answers

Finding hidden files under mounted filesystems

I have never heard of this before but someone at work here says there is a command to find files that are under currently mounted filesystems. Does anyone know what this command is and is it available on HP-UX? (3 Replies)
Discussion started by: keelba
3 Replies
Login or Register to Ask a Question