zfs, rsync and broken symlinks (cannot get extended attributes)

Nicolas Rachinsky fbsd-mas-0 at ml.turing-complete.org
Mon Sep 10 00:18:15 UTC 2012


Hallo,

I tried to setup a backup with rsync and --fake-super. This does work
fine, until I export and import the zpool (or reboot). After that I
have symlinks that cannot have extended attributes:

root at paladin /pool1/TST/etc/rc0.d# lsextattr -h user *
K01atd  rsync.%stat
K01exim4        rsync.%stat
K01heartbeat    rsync.%stat
K01logd rsync.%stat
K01mysql-proxy  rsync.%stat
lsextattr: K01urandom: failed: Not a directory

I was unable to reproduce this without using rsync. It seems to work
fine if I only rsync /etc/rc0.d, but it fails if I rsync the whole
/etc/rc0.d.

Am I doing something wrong?

This is on FreeBSD 8.3-RELEASE-p3, rsync 3.0.9 and the source is some
debian squeeze. The zpool was recreated just before this tests (raidz1
with 4 disks). The system is on ufs.

If there is anything missing, just ask. At the moment I can try some
things with this system.

Thanks in advance.

Nicolas
-- 
http://www.rachinsky.de/nicolas


More information about the freebsd-fs mailing list