Eric Shubert wrote:
> I could use a little help.
>
> I'm trying to rsync w/ --xattrs to a mounted nfs filesystem, and get the
> following error on each file:
> rsync_xal_set: lsetxattr user.DOSATTRIB failed: Operation not supported
> The rsync works fine w/out the --xattrs option. This appears to indicate
> that xattr isn't enabled on the destination side.
>
> Both hosts are running current CentOS5.4, and I'm running as root (just
> for testing).
>
> The source files contain the user.DOSATTRIB attributes from samba:
> map archive = no
> map hidden = no
> map read only = no
> map system = no
> store dos attributes = yes
> dos filemode = yes
> and the source filesystem (ext3) has xattr enabled:
> # tune2fs -l /dev/mapper/VolGroup00-LogVol00 | grep attr
> Filesystem features: has_journal ext_attr resize_inode dir_index
> filetype needs_recovery sparse_super large_file
> Default mount options: user_xattr acl
>
> The remote host has xattr enabled as well:
> # tune2fs -l /dev/md7 | grep attr
> Filesystem features: has_journal ext_attr resize_inode dir_index
> filetype needs_recovery sparse_super large_file
> Default mount options: user_xattr acl
>
> I've added user_xattr specifically to the fstab entry on the destination
> side, in case the default mount option wasn't taking:
> # cat /etc/fstab | grep md7
> /dev/md7 /udat ext3 user_xattr,acl 1 2
>
> Autofs mounts nfs with the following options:
> -async,auto,rw,suid,user_xattrs,acl,fstype=nfs,rsize=32768,wsize=32768,intr
>
> I'm guessing that nfs is likely the problem, but from googling a bit, it
> appears that nfs should pass xattr values just fine. Perhaps this is
> incorrect.
>
> Does anyone have an idea why I'm getting this error?
> Solution?
> TIA.
>
On further review, it appears that nfs on COS5.4 doesn't support xattrs.
I'll try mounting with cifs and see how that works. I'm guessing it'll
work better, given that rsync and samba come from the same place for the
most part. ;)
--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss