From owner-freebsd-fs@FreeBSD.ORG Mon Sep 10 00:18:15 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADBDA1065686 for ; Mon, 10 Sep 2012 00:18:15 +0000 (UTC) (envelope-from nicolas@i.0x5.de) Received: from n.0x5.de (n.0x5.de [217.197.85.144]) by mx1.freebsd.org (Postfix) with ESMTP id 674688FC17 for ; Mon, 10 Sep 2012 00:18:14 +0000 (UTC) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 3XFVG81fVxz7yTY; Mon, 10 Sep 2012 02:18:08 +0200 (CEST) Date: Mon, 10 Sep 2012 02:18:08 +0200 From: Nicolas Rachinsky To: freebsd-fs@freebsd.org Message-ID: <20120910001808.GA96418@mid.pc5.i.0x5.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: 887BAE72 X-PGP-Fingerprint: 039E 9433 115F BC5F F88D 4524 5092 45C4 887B AE72 X-PGP-Keys: http://www.rachinsky.de/nicolas/gpg/nicolas_rachinsky.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: zfs, rsync and broken symlinks (cannot get extended attributes) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 00:18:15 -0000 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@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