Rsync over samba mounts (bad file descriptor)
tony at servacorp.com
Fri Jul 7 09:17:26 GMT 2006
Some things fast off the top of my head
(flames invited where I'm wrong;)
I am assuming:
Files live on the Window server.
smb mounted onto the BSD server
(It does what it can, but it's a few cards shy of a full deck)
There is a buch of whatever in Windows ACLs, but
there is enough UNIX permission stuff MISSING that you can expect trouble.
(Neither is an extension of the other. THey are different)
You will probably want a window on the timestamps since DOS cannot represent
You will likely to an all or nothing gizmo regarding ownerships.
You will likely get the single-user attitude of DOS in order to make things
Likely, the owner and group of everything in the mount is whoever mounted
(Which naturally has nothing to do with who "owns" it on the Windows
If it were me, I would set multiple [names] in the target /etc/rsyncd.conf
where the distinguishing difference was the uid= and gid=
Good Luck ;)
With luck, you should even get some actually helpful answers from the list.
> -----Original Message-----
> From: rsync-bounces+tony=servacorp.com at lists.samba.org
> [mailto:rsync-bounces+tony=servacorp.com at lists.samba.org]On Behalf Of
> Wayne Swart
> Sent: Friday, July 07, 2006 3:41 AM
> To: rsync at lists.samba.org
> Subject: Rsync over samba mounts (bad file descriptor)
> Hello everyone
> I am trying to do incremental backups using rsync and SSH.
> I have a windows server with two shares on it that I want to sync
> remotely to another machine.
> | windows server |
> | FreeBSD server |
> | SuSe server |
> I have two samba mounted shares on the BSD server, and then sync
> those samba mounts from the BSD machine to the Linux machine.
> Now the problem:
> When my rsync starts building its file list it gets a lot of "Bad
> File Descriptor" Errors, and does not do incremental syncs.
> Is there a way around this? (Without running cygwin on the
> Windows server).
> I am running my rsync with the following flags: -avuz
> Your help is appreciated.
> Wayne Swart
> Systems Administrator
> ZA Internet Solutions
> +2712 663 1800
> To unsubscribe or change options:
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync