From owner-freebsd-questions@FreeBSD.ORG Fri Nov 16 17:49:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38C6BE35 for ; Fri, 16 Nov 2012 17:49:06 +0000 (UTC) (envelope-from bounce@greenasia1.com) Received: from mail123.elasticemail.co.uk (mail123.elasticemail.co.uk [178.33.69.123]) by mx1.freebsd.org (Postfix) with SMTP id 8DB278FC16 for ; Fri, 16 Nov 2012 17:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; bh=PZnyO6OrSnxf7r4oTd7j+j6ij5U=; c=relaxed/relaxed; d=greenasia1.com; s=api; h=DomainKey-Signature:MIME-Version:Subject:Date:From:Reply-To:To:List-Unsubscribe:Message-ID:Content-Type; b=H2figOFbl7OF8w14UuPIR1geoGmRokUEubk1/4lRWRAuUzafPklhOi2ypVyT+eNdbUEYZudjR3olDxOWHr+qZRkKJJmRH3txSu9/tk7REdf59ccr/RQOD5lAM5xWNAYItj2HIgpMAkXSO0rfO1Zl7iPZgCAmRYiJuE4TcqIBuzM= DomainKey-Signature: q=dns; a=rsa-sha1; c=simple; d=greenasia1.com; s=api; h=MIME-Version:X-Mailer:X-Priority:Subject:Date:From:Reply-To:To:List-Unsubscribe:Message-ID:Content-Type; b=dEEDg/5J9ZRJvS6jQGT5aFWyNxX1kP7ddVFVSDG55ifSfLEUVBrmImgxBvfj2WbkeEIo6MK46WSnMLLGxIQuFTzrcwUMn9EzCfrg9KD6wPWAQ6bUVdQJ98qw7EQKg0Ci1mhZ4iHpHdr8NQoaPQvK+Mf6PLV0A0OOZaYEZVWuJss= MIME-Version: 1.0 X-Mailer: elasticemail.com X-Priority: 3 (Normal) Subject: If you are using paper bills, this is for you Date: Fri, 16 Nov 2012 17:48:55 +0000 From: "GreenPost" To: freebsd-questions@freebsd.org Message-ID: <4tncls4yb4hs.lmpy5e-fd1wbf1m@elasticemail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: GreenPost List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 17:49:06 -0000 CgogTm93IHZpZXcgYWxsIHlvdXIgYmlsbHMgYW5kIHBheSB0aGVtIGF0IDEtY2xpY2suIEFueXRp bWUsIEFueXdoZXJlLgogCiAqTWFsYXlzaWEqIC0gTWF4aXMsIERpR2ksIFROQiwgQXN0cm8sIENl bGNvbSwgVSBNb2JpbGUsIFRNLCBZZXMsIFAxLApJbmRhaCBXYXRlciwgU1lBQkFTLCBLR1BBLCBL UlBNLCBTdGFyaGlsbCBHzr9sZiBSZXPOv3J0LgogKlNpbmdhcG9yZSogLSBTdGFyIEh1YiwgTTEs IFNpbmdUZWwsIFNpbmdhcG9yZSBQb3dlciwgTlVTUywgS2VwcGVsCkNsz4ViLCBTdW5QYWdlLCBT ZyBTd2ltbWluZyBDbM+FYiwgUGhvZW5peCBDb21tcywgWk9ORSBUZWxlY29tLApUZW1hc2VrIENs z4ViLCBBbWVyaWNhbiBDbM+FYiwgTXlSZXB1YmxpYywgTlNSQ0MuCiAKIFdlIGFyZSBhbHNvIGlu ICpBdXN0cmFsaWEsIFBoaWxpcHBpbmVzLCBJbmRvbmVzaWEsIFNyaSBMYW5rYSwgVUFFLioKCiBJ bnRyb2R1Y2luZyBhIGhhc3NsZS1mwq1yZWUgYmlsbCBtYW5hZ2VtZW50IHNlcnZpY2UhCgogV2Ug YXJlIEdyZWVuUG9zdCwgYSBmYXN0LCBlYXN5IGFuZCBlY28tZnJpZW5kbHkgYmlsbCBtYW5hZ2Vt ZW50CnN5c3RlbSB0aGF0IGVuYWJsZXMgeW91IHRvIG1hbmFnZSBhbGwgeW91ciBiaWxscyBvbmxp bmUgYW5kIG9uIHRoZ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.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5FE88E0 for ; Fri, 16 Nov 2012 18:25:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5475D8FC13 for ; Fri, 16 Nov 2012 18:25:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TZQbD-0001l8-8q for freebsd-questions@freebsd.org; Fri, 16 Nov 2012 19:25:09 +0100 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Nov 2012 19:25:07 +0100 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Nov 2012 19:25:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: odd phantom directory Date: Fri, 16 Nov 2012 18:24:44 +0000 (UTC) Lines: 65 Message-ID: References: <06e901cdc407$c69ee650$53dcb2f0$@simons-rock.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20100101 Firefox/16.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 18:25:08 -0000 Brian Gold simons-rock.edu> writes: > > Hi all, > > I ran into a rather odd issue this morning with my FreeBSD 9.0-Release > system running ZFS v28. This system serves as an RSYNC host which all of our > other systems back up to each night. Last night, I started getting the > following error: > > file has vanished: "/backup/ldap1/etc/pki" > > Now, usually when I get a file has vanished error during an RSYNC run, it > indicates that the source file/directory on the system that is sending the > rsync backup has been deleted or moved before rsync got a chance to actually > send it. That doesn't appear to be the case here. "/backup/ldap1/etc/pki" is > the destination directory on my Freebsd/ZFS server. I take a look in > "/backup/ldap1/etc" on my Freebsd server and the "pki" subdirectory is no > longer listed. > > Ok, so I run "mkdir /backup/ldap1/etc/pki" and get the following error: > "mkdir: /backup/ldap1/etc/pki: File exists". Odd > > Just to double check, I run "ls -la /backup/ldap1/etc/pki" and get the > following: "ls: /backup/ldap1/etc/pki: No such file or directory" > ... There have been cases like that reported in the past. One was dated 2006: http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018069.html I assume the backup host was on UFS. This comment seems to be interesting: "Such behavior usually caused by lost vnode reference and/or bugs in the vnode traversal code. ..." Next dated 2011: http://freebsd.1045724.n5.nabble.com/carsten-c-otto-de-ftpsync-freebsd-ftp-ftp-1013-rsync-ERROR-on-2011-03-04-09-23-00-td4073512.html I assume the backup host was on UFS2. There was a fix commited: "...John Baldwin commited very promising MFC yesterday, see http://svn.freebsd.org/changeset/base/219744 ." Next dated 2011: http://lists.freebsd.org/pipermail/freebsd-current/2011-October/027902.html The backup host was on ZFS. Yours is similar to the last one. Perhaps looking for the solution to this problem should start at top VFS layer ? The description in /usr/src/sys/sys/vnode.h is a good reference. I would suggest you file a PR# to get VFS and fs devs have a look at it. jb