From owner-freebsd-questions@FreeBSD.ORG Tue Aug 18 13:32:46 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA215106568C for ; Tue, 18 Aug 2009 13:32:46 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 23E668FC15 for ; Tue, 18 Aug 2009 13:32:45 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n7IDVkaI013794; Tue, 18 Aug 2009 15:31:46 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n7IDVk0B013793; Tue, 18 Aug 2009 15:31:46 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 18 Aug 2009 15:31:46 +0200 From: Ruben de Groot To: Erik Norgaard Message-ID: <20090818133146.GA13762@ei.bzerk.org> References: <4A8A5887.1080304@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A8A5887.1080304@locolomo.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_16 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Tue, 18 Aug 2009 15:32:44 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: Recovering files after a crash 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: Tue, 18 Aug 2009 13:32:46 -0000 On Tue, Aug 18, 2009 at 09:30:15AM +0200, Erik Norgaard typed: > Hi: > > I woke op to a crash this morning after a powerfailure, and now dmesg > shows this: > > WARNING: / was not properly dismounted > GEOM_LABEL: Label ufsid/442f8ac1c0db9af2 removed. > GEOM_LABEL: Label for provider ad6s1a is ufsid/442f8ac1c0db9af2. > GEOM_LABEL: Label ufsid/442f8ac5a7fa5dda removed. > GEOM_LABEL: Label for provider ad6s1d is ufsid/442f8ac5a7fa5dda. > GEOM_LABEL: Label ufsid/442f8ac950b22b46 removed. > GEOM_LABEL: Label for provider ad6s1e is ufsid/442f8ac950b22b46. > GEOM_LABEL: Label ufsid/442f8ad3e5c88ab8 removed. > GEOM_LABEL: Label for provider ad6s1f is ufsid/442f8ad3e5c88ab8. > GEOM_LABEL: Label ufsid/442f8ad59f647596 removed. > GEOM_LABEL: Label for provider ad6s1g is ufsid/442f8ad59f647596. > GEOM_LABEL: Label ufsid/442f8ae2200a8064 removed. > GEOM_LABEL: Label for provider ad6s1h is ufsid/442f8ae2200a8064. > GEOM_LABEL: Label ufsid/442f8ac1c0db9af2 removed. > GEOM_LABEL: Label ufsid/442f8ac5a7fa5dda removed. > GEOM_LABEL: Label ufsid/442f8ac950b22b46 removed. > GEOM_LABEL: Label ufsid/442f8ad3e5c88ab8 removed. > GEOM_LABEL: Label ufsid/442f8ad59f647596 removed. > GEOM_LABEL: Label ufsid/442f8ae2200a8064 removed. > > The problem is that I have no idea which files were affected. According to this, no file was affected. > So, now some questions: > > First, how do I determine which files were corrupted? And how do I > recover these files? > > Second, / is mostly read-only, in fact, I can't think of any file on > that partition that should be modified at all: /tmp is on a separate > partition, I have source files on /usr/local rather than the default, in > fact, only root user files are modified during a normal day, but it's > been days since I logged in as root. > > How do I protect read-only files from being corrupted in the first > place? I have tried mounting / read-only but that gave a load of other > problems. > > Thanks, Erik > > > -- > Erik N?rgaard > Ph: +34.666334818/+34.915211157 http://www.locolomo.org > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"