From owner-freebsd-current@FreeBSD.ORG Sun Aug 7 06:08:41 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 270ED1065675 for ; Sun, 7 Aug 2011 06:08:41 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E29AC8FC13 for ; Sun, 7 Aug 2011 06:08:40 +0000 (UTC) Received: by gxk28 with SMTP id 28so215950gxk.13 for ; Sat, 06 Aug 2011 23:08:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=GnmfqKJZDAG2ZzH1xX719z2uCn4dqofTL0YCtyY4PvM=; b=p1lftXEiiRsTKpCYTZgL7uGe+D/BZVGb/p2DB3sChebK+tWAhoUjL55+0C1WplS5r0 WAPHflNtkwmY4QYR3s3H3vVXqlmVTA6nU5MbR5NltlrxBZe3/E6kMq6xu39xNyzdKuEL oxrcqq478Hifx8+Z49YwRbQQ9ME+O4M/Go8Gw= MIME-Version: 1.0 Received: by 10.236.125.202 with SMTP id z50mr5048436yhh.231.1312697320223; Sat, 06 Aug 2011 23:08:40 -0700 (PDT) Received: by 10.236.60.162 with HTTP; Sat, 6 Aug 2011 23:08:40 -0700 (PDT) Date: Sun, 7 Aug 2011 08:08:40 +0200 Message-ID: From: "deeptech71@gmail.com" To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: ghost files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2011 06:08:41 -0000 as of recent times, some git rebase operations fail unexpectedly with an error: "cannot create .git/index.lock: file exists". an investigation session was something like the following: $ ls -l .git the index.lock file is not in the shown list. $ ls -l .git/index.lock the file is listed! it's a regular file, its size is ~60KiB. $ cat .git/index.lock some file content is shown. $ mv .git/index.lock .git/someplace moving fails with: index.lock: file does not exist. $ ee .git/index.lock some file content is shown, which i edit and save. then the .git/index.lock file really disappears (cat, direct ls, ee, mv, etc. do not find the file), and the content i put in the .git/index.lock file via ee is now in .git/index. H$X!!!!!111 i still have some git rebase operations (which are notably disk-active) fail from time to time with "impossible" reasons (for example: something like "cherry picking failed", or something like "cannot move git-rebase-new to git-rebase-todo: file does not exist"). i'd note that the hard drive is kind of old (>7 years), and i recently had the power cut during port build operations twice, although the (UFS) filesystem is fsck-clean. has anyone experienced anything like this? what is the possibility of a filesystem/kernel bug or fsck bug?