Wayne, Hello, I saw a post of yours out on samba.org and was wondering if you might be able to shed a little light on a problem I'm having with rsync. My rsync source files are all off of nfs mounts and the destination directories are all nfs mounts. The owner and groups all end up as nobody/nobody on the destination, despite being all sorts of owners and groups on the source. Have you seen this, or are you aware of any issues with nfs and rsync? Thanks a lot; I'm sure you're very busy, so if you do get a chance to answer this email, I appreciate it. Alex Here was your post: http://lists.samba.org/archive/rsync/2005-September/013566.html Alex Loker Senior UNIX Administrator, Enterprise Platforms Public Broadcasting Service 1310 Braddock Place, Alexandria, VA 22314 Office: 703-739-5080 Cell: 703-856-3514 arloker@pbs.org ___________________________________________________________________ Big Big Friends are coming your way for Big Big Friend Day on PBS KIDS! On November 25th, join pals from CLIFFORD and DRAGON TALES For fun, surprises, and a peek at some brand new friends! pbskids.org ___________________________________________________________________ This email may contain material that is confidential or proprietary to PBS and is intended solely for use by the intended recipient. Any review, reliance or distribution of such material by others, or forwarding of such material without express permission, is strictly prohibited. If you are not the intended recipient, please notify the sender and destroy all copies. __________________________________________________________________ -------------- next part -------------- HTML attachment scrubbed and removed
On Fri 11 Nov 2005, Alexander R. Loker wrote:> rsync. My rsync source files are all off of nfs mounts and the > destination directories are all nfs mounts. The owner and groups all end > up as nobody/nobody on the destination, despite being all sorts of > owners and groups on the source. Have you seen this, or are you aware of > any issues with nfs and rsync?If you're running as root, and the NFS filesystems aren't exported with no_root_squash (or equivalent), then root is effectively nobody/nobody on those filesystems. That probably also means that root can't chown/chgrp the files to their rightful owners. You're always better off (if possible) running rsync from the system that hosts NFS filesystems, because NFS means network traffic will double, while the main idea about rsync is minimizing network traffic. Paul Slootman
Thanks! Alex Alex Loker Senior UNIX Administrator, Enterprise Platforms Public Broadcasting Service 1310 Braddock Place, Alexandria, VA 22314 Office: 703-739-5080 Cell: 703-856-3514 arloker@pbs.org -----Original Message----- From: Paul Slootman [mailto:paul@debian.org] Sent: Friday, November 11, 2005 12:35 PM To: Alexander R. Loker Cc: rsync@lists.samba.org Subject: Re: Running 'rsync' as root misses files On Fri 11 Nov 2005, Alexander R. Loker wrote:> rsync. My rsync source files are all off of nfs mounts and the > destination directories are all nfs mounts. The owner and groups allend> up as nobody/nobody on the destination, despite being all sorts of > owners and groups on the source. Have you seen this, or are you awareof> any issues with nfs and rsync?If you're running as root, and the NFS filesystems aren't exported with no_root_squash (or equivalent), then root is effectively nobody/nobody on those filesystems. That probably also means that root can't chown/chgrp the files to their rightful owners. You're always better off (if possible) running rsync from the system that hosts NFS filesystems, because NFS means network traffic will double, while the main idea about rsync is minimizing network traffic. Paul Slootman ___________________________________________________________________ Big Big Friends are coming your way for Big Big Friend Day on PBS KIDS! On November 25th, join pals from CLIFFORD and DRAGON TALES For fun, surprises, and a peek at some brand new friends! pbskids.org ___________________________________________________________________ This email may contain material that is confidential or proprietary to PBS and is intended solely for use by the intended recipient. Any review, reliance or distribution of such material by others, or forwarding of such material without express permission, is strictly prohibited. If you are not the intended recipient, please notify the sender and destroy all copies. __________________________________________________________________