%20%ED%94%8C%EB%9E%98%EA%B7%B8%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%9C%20rsync%20%EA%B2%B0%ED%95%A8.png)
다음 플래그 세트를 사용하여 ext4 파일 시스템에서 btrfs로 파일을 rsync할 때:
rsync --update -DHAXErlptgo
백업된 디렉터리의 첫 번째 복사본은 정상적으로 완료되었지만 이 동일한 명령이 업데이트를 위해 반복되면 즉시라도 확장 속성과 관련된 오류가 발생합니다. -X 플래그를 사용하지 않으면 오류가 없습니다. 다음은 오류의 모습입니다(하나의 /etc 디렉토리에만 더 많은 오류가 있습니다).
rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/multi-user.target.wants/winbindd.service"",1024) failed: Permission denied (13)
rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/multi-user.target.wants/zfs.target"",1024) failed: No such file or directory (2)
rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/timers.target.wants/backup.timer"",1024) failed: No such file or directory (2)
rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/timers.target.wants/ntpsync.timer"",1024) failed: No such file or directory (2)
누군가 이러한 오류가 발생하는 이유와 -X 플래그를 제외하지 않고 오류를 제거하는 방법을 알려주실 수 있습니까?
감사해요.
업데이트: 첫 번째 복사 중에도 오류가 발생하는 경우가 있습니다.
rsync: failed to set times on "/mnt/backup/rootdir/root/.cache/sessions/thumbs-hostname:0": Invalid argument (22)
rsync: recv_generator: failed to stat "/mnt/backup/rootdir/root/.cache/sessions/thumbs-hostname:0/Default.png": Not a directory (20)
rsync: failed to set times on "/mnt/backup/rootdir/root/.cache/sessions/thumbs-hostname:0": Invalid argument (22)
rsync: recv_generator: failed to stat "/mnt/backup/rootdir/root/.cache/sessions/thumbs-hostname:0/Default.png": Not a directory (20)
rsync: get_acl: sys_acl_get_file(root/.cache/sessions/.xfce4-session-hostname:0.yON2Lj, ACL_TYPE_ACCESS): No such file or directory (2)