From owner-freebsd-usb@FreeBSD.ORG Wed Oct 13 19:12:53 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EB26106566B for ; Wed, 13 Oct 2010 19:12:53 +0000 (UTC) (envelope-from shewless@unleashed-web.org) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 332DA8FC22 for ; Wed, 13 Oct 2010 19:12:52 +0000 (UTC) Received: by qwe4 with SMTP id 4so2966139qwe.13 for ; Wed, 13 Oct 2010 12:12:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.226.80 with SMTP id iv16mr7887514qcb.244.1286997170131; Wed, 13 Oct 2010 12:12:50 -0700 (PDT) Received: by 10.229.236.210 with HTTP; Wed, 13 Oct 2010 12:12:50 -0700 (PDT) X-Originating-IP: [64.7.137.162] In-Reply-To: <20101013190029.GA1118@tiny> References: <20101013190029.GA1118@tiny> Date: Wed, 13 Oct 2010 15:12:50 -0400 Message-ID: From: Scott Charron To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: FreeBSD8 on USB stick - power loss causes corruption X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 19:12:53 -0000 I have another server (used as a router) running FreeBSD 8 off of a CF card.(and several previous versions in the past) and it survives all of my power outages with grace. >From the reading I have done it seems to me that the UFS filesystem is supposed to be robust and not susceptible to corruption on this level. I seem to be able to reproduce this problem every time! Thank you, On Wed, Oct 13, 2010 at 3:00 PM, Matthias Apitz wrote: > El d=EDa Wednesday, October 13, 2010 a las 02:11:48PM -0400, Scott Charro= n > escribi=F3: > > > Hi, > > > > I don't know if this is a USB problem or not - but I figured I'd start > here. > > > > I have a Acer H340. I installed a barebones install of FreeBSD8.1 > > (release). I previously had FreeBSD8.0 release and was experiencing th= e > > same problem. > > > > I have a 4GB USB memory stick that I installed FreeBSD onto (512M /, 51= 2M > > /var, remaining /usr). > > > > Everything works great, but if if the PC receives a power loss I get fi= le > > system corruption problems: > > > > Something like: > > > > * /dev/ad0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.* > >... > > Of course, if the system on power loss can't shutdown and umount the > file systems and the root fs, this exactly will be the result that the > fs are marked as dirty, need fsck on reboot and sometimes even a > manually fsck if the inconsistencies are to not easy repairable. > > You might count this a feature, and not a bug. > > matthias > > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ >