[CentOS] Relabel /usr directory

Wed Feb 5 10:17:53 UTC 2020
Pete Biggs <pete at biggs.org.uk>

On Wed, 2020-02-05 at 12:59 +0300, Dimitri Zelenkin via CentOS wrote:
> Pete Biggs wrote:
>  >> The -X option to rsync will copy all extended attributes from the old to
>  >> the new filesystem.
>  > Yes, I discovered this when I rsync'd a whole 4Tb filesystem and the
>  > backup system decided everything had changed because the attributes had
>  > changed.  I've settled on using "rsync -avHAX ..." and that seems to
>  > keep everything preserved.
> The most important question here is obvious: have you lost your data?
Me? No. It was just annoying that I had to re-backup 4Tb of data to a
remote server that only allowed me to send 200Gb a day when the only
thing that had changed was the ACL and SELinux labelling that we don't
even use on the filesystem.