From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:57:26 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 1DA931065670 for ; Mon, 30 Apr 2012 17:57:26 +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 C8F018FC24 for ; Mon, 30 Apr 2012 17:57:25 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SOuqa-0003Ml-VW for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 19:57:17 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2012 19:57:16 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2012 19:57:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Mon, 30 Apr 2012 17:57:07 +0000 (UTC) Lines: 52 Message-ID: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9EC5E9.6060604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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:10.0.2) Gecko/20100101 Firefox/10.0.2) 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: Mon, 30 Apr 2012 17:57:26 -0000 Alejandro Imass p2ee.org> writes: >... > If you have really followed the thread, all I have done is try to find > some explanation for a strange behavior of the system under normal > use. It hung, and some directories were moved, period. I have posted > some ideas to share with other people expecting some insight and maybe > similar experience from other users, which there probably are many, > but many times afraid to speak up and avoid getting insulted. > ... Well, I try to help only, so I hope I do not get insulted ... I could become vicious :-) Here it is. You said you have your jail env on a separate disk. I looked at problem reports for nullfs and there are quite few. Hierarchical Jails NOTES You said you have your jail env on a separate disk. I looked at problem reports for nullfs and there are quite few. http://www.freebsd.org/cgi/query-pr-summary.cgi?category=&severity=&priority=&cl ass=&state=&sort=none&text=nullfs&responsible=&multitext=&originator=&release= As a matter of fact I just mounted a nullfs but was not able to unmount it (device busy) - a Google search shows it as a problem reported for many many years. Nullfs does not seem to be stable. Anyway, I found one PR http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/147420 that is about troubles with jails, nullfs, UFS, and NFS. Synopsis: [ufs] [panic] ufs_dirbad, nullfs, jail panic (corrupt inode) Take a look at this paragraphs: "... After two more failures, I now found the offending inode ..." "... As one point, I found the inode in a directory which usually is mounted for an (ez-) jail via nullfs." This proves that problems with jails, nullfs, and fs corruption are possible. So, they can not be excluded up front in your case too because nullfs is just a simple "path translation". jb