From owner-freebsd-questions@FreeBSD.ORG Sat Apr 28 13:15:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E8F4106566C for ; Sat, 28 Apr 2012 13:15:32 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F62C8FC0C for ; Sat, 28 Apr 2012 13:15:32 +0000 (UTC) Received: by iahk25 with SMTP id k25so2967331iah.13 for ; Sat, 28 Apr 2012 06:15:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=PvJ4ijmM4Nf3TkTW1J6bDVS0RC9E84dLcCfGjhyb+Bc=; b=DpGIzOB5wP7+nK81n6D/15z5jbKJ+i6wsr3Myieb+2PU5Bj3f+QQ1glJbBOhaIonGH 3yDFBo7SunnnudILr3u69zBVpZ+517fouby9sfbi5D4plAHR87nH123iCDjzQoLh3piG wBj0DE47e2/gO4swnhkESLnLE5luOH/dJcdkV4uzRTRtaVR/2ioJ5mVlilxaHKzkymOa hLUtEaaJP0J4p9lyV/bauwz9WJPc5sU5uK5phaERy/yFkFaukjguFLCFeyGIdl4qdGnd qzTeymhacfPpKB53FqNpIy5bKvY+2AobBkaNjP7sPIk9IbNMQzNJwm7WJz0LuMwldMcs aklg== MIME-Version: 1.0 Received: by 10.50.149.129 with SMTP id ua1mr5700522igb.43.1335618926023; Sat, 28 Apr 2012 06:15:26 -0700 (PDT) Received: by 10.231.74.138 with HTTP; Sat, 28 Apr 2012 06:15:25 -0700 (PDT) In-Reply-To: References: Date: Sat, 28 Apr 2012 09:15:25 -0400 Message-ID: From: Alejandro Imass To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnYSQQ1NG3nL3Miow3T6HBTQuSdD0bDr4MdSJbvkxNLHQ2H/YYsqkaRDE9RVh4hADl5gML8 Cc: FreeBSD Questions Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2012 13:15:32 -0000 On Sat, Apr 28, 2012 at 3:22 AM, Wojciech Puchar wrote: >> I somewhat agree, but it wasn't a person. I am the only administrator, >> the only one with root access. The jails were effectively moved to the >> /usr/local/etc/apache22 of the single that survived at the top level. >> I'm thinking something between mount, EzJail, the journal and the way >> MySQL created a great deal of head contention, so something must have >> gotten corrupted at the directory level like you state, but the >> strange part is no _data_ corruption as such, because I was able to >> physically archive the jails, move them to the correct directory and > > > no matter what you do FreeBSD DOES NOT ramdomly move directories. if you are > sure you didn't move it yourself then it must be machine hardware problem > but still unlikely. After a little more research, ___it it NOT unlikely at all___ that under high distress and a hard boot, UFS could have somehow corrupted the directory structure, whilst maintaining the data intact. From what I've learned so far, UFS is actually divided into 2 layers: one that controls the directory structure and metadata and a lower layer containing the data, so the directories being screwed up and the data intact it is actually quite possible. What I'm trying to do is figure out is how it happened, and try prevent it from happening again, so instead of dismissing it as impossibility, I think we all should spend a little time figuring out how these things can happen and determine how it can be prevented or reduced. "Should you find your neighbor's beard catch fire, it's wise to soak one's own" -- Alejandro