Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 15:12:50 -0400
From:      Scott Charron <shewless@unleashed-web.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: FreeBSD8 on USB stick - power loss causes corruption
Message-ID:  <AANLkTimmr3nz2JxVq-q=VDNzqKzeUJkv8hZwKRxYGyqz@mail.gmail.com>
In-Reply-To: <20101013190029.GA1118@tiny>
References:  <AANLkTi=zzcMsH3VDPcn1tN2XHNhtxYCQjWj1WSTePUWE@mail.gmail.com> <20101013190029.GA1118@tiny>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <guru@unixarea.de> 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 <guru@unixarea.de> - w http://www.unixarea.de/
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimmr3nz2JxVq-q=VDNzqKzeUJkv8hZwKRxYGyqz>