xfs
[Top] [All Lists]

Re: rsync from xfs to nfs+xfs and ACL problems

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: Re: rsync from xfs to nfs+xfs and ACL problems
From: Linda Walsh <xfs@xxxxxxxxx>
Date: Thu, 20 May 2010 15:05:03 -0700
In-reply-to: <20100518123304.GH2150@dastard>
References: <201005181350.15308@xxxxxx> <20100518123304.GH2150@dastard>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
If the NFS system doesn't handle ACL's,
you might try using "star" which can handle ACL's and extended file attributes 
storing them in
an extended tar-format archive.

It has a "-copy" feature that I've used successfully to copy extended file 
attributes:
(cd sourcedir; star -acl -xattr -no-fsync . /destdir/.)&

and ACL's from one XFS file system to another, so I'm reasonably sure it's archive format (see its manpage for correct options) would also store them.



Dave Chinner wrote:
On Tue, May 18, 2010 at 01:50:15PM +0200, Michael Monnerie wrote:
Hello, I'm trying to rsync from an xfs with ACLs set to another server which has an xfs filesystem. I mounted the nfs using Does it mean I can't sync ACLs? How could I do it? I need a full backup including ACLs, as I want to move all data and then restore.

NFSv3 doesn't support ACLs, IIRC.

Cheers,

Dave.

<Prev in Thread] Current Thread [Next in Thread>