LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rsync on to a samba mount on a AS3 (Windows) (https://www.linuxquestions.org/questions/linux-newbie-8/rsync-on-to-a-samba-mount-on-a-as3-windows-521595/)

procfs 01-22-2007 12:47 AM

rsync on to a samba mount on a AS3 (Windows)
 
Hi

I have 4 servers Two on RedHat AS 3 and other Windows 2003

Configuration



S1 <--Mount--> S3 <-----rsync-------< S4 <--Mount--> S6



S1, Windows 2003 server with a share, mounted on “S3” as a (RW) samba mount using the /etc/fatab, its entries as fallow

//avaapssvd2/rsync /mnt/win smbfs auto,usr,wr,uid=rsync-usr,gid=rsync-usr,username=rsync-usr,password=avabill,umask=000 0 0


S3, RedHat AS3 server who will pull the files and apply to the mounted share on S3 using command

rsync -apogcvv --modify-window=1 -e ssh rsync-usr@172.16.86.181:/mnt/win/ /mnt/win

S6, has a read only share which in turn mountd on AS3 server S4

My problem is

For some files I am getting this errors, can any body tell me how to avoid this.

failed to set times on Forms/STATUS_CHANGE.fmx : Permission denied

and

rename Forms/.RCPTMLSZC.fmx.a4W3pI -> Forms/RCPTMLSZC.fmx : Permission denied

Hear why is, he trying to rename the file, all I want is rsync to copy every thing from server 4 to 3 so the windows directories will be updated.

Hope the scenario is clear.

Regards

Asanka

ramram29 01-23-2007 09:07 AM

I've had the same problem - I think it has to do whith NTFS permissions. You can copy but you can't rename or move within NTFS partition mounted remotely. I'm still trying to investigate this further. If you are automating file manipulation between Linux and Windows I would recommend to dedicate a FAT32 directory if you want smoother processing of files. Then within the Windows server you can create further automated scripts to move the files between the FAT32 directory and the NTFS directory. If you are dealing with mega files then that's a different story. Also I found that it is better if you pull data from Windows < Linux than to push data from the Linux > Windows. Blame Microsoft for their closed mentality.

procfs 01-23-2007 05:09 PM

Hi ramram29

Though I was alone when I did not get a reply.

Tell me is there a way to stop the renaming and just rsync the files as it is.

Thank you

Best regards

Asanka


All times are GMT -5. The time now is 09:06 AM.