Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 20:36:33 +0300
From:      Dan Naumov <dan.naumov@gmail.com>
To:        Nick Barkas <snb@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: sysinstall, GJOURNAL and ZFS
Message-ID:  <cf9b1ee00906091036q2ef84980gd8a046e21107782c@mail.gmail.com>
In-Reply-To: <20090609172142.GA92146@ebi.local>
References:  <cf9b1ee00906090242h6dea1182h8e743b7ceec36c2c@mail.gmail.com> <alpine.BSF.2.00.0906091632430.6551@wojtek.tensor.gdynia.pl> <cf9b1ee00906090757v7d589dfch978076a97be724a9@mail.gmail.com> <20090609172142.GA92146@ebi.local>

next in thread | previous in thread | raw e-mail | index | archive | help
I know some might dismiss my personal experience as "anecdotal", but
yes I have had that happen to me twice. Some googling will show that I
am not the only one to ever experience fatal UFS+softupdates failures.
I even ran into a page from 2006 (I think), where a fellow wrote some
code which would write data to an UFS2 partition that would
consistently cause fsck to fail. This actually brings up to another
related point, having to actually deal with fsck. On
filesystems/volumes of today, which can easily span 10tb+ in a
production environment, having to deal with fsck times is a complete
no-go.

One could of course argue that environments where 10tb+ volumes are
used right now are special cases, where the administrator would know
of these issues and take appropriate measures to deal with it (UPS,
custom installation with gjournal, ZFS, etc), my point still stands.
Right now, anyone can walk into a computer store and purchase a
consumer 1,5tb or 2tb drive. Have you tried running fsck on a 2tb
filesystem? It's not fun. And this will only get worse with time as
drive sizes continue to grow.

- Dan Naumov





On Tue, Jun 9, 2009 at 8:21 PM, Nick Barkas<snb@freebsd.org> wrote:
> Can you back this up? I cannot recall having ever rendered a FreeBSD
> system unbootable due to UFS/UFS2 problems after a power failure or
> crash. I once had a problem with snapshots that made background fsck
> fail and crash the system, but it was fixable by booting single user and
> running fsck manually. This was a couple of years ago, and I think the
> problem has since been fixed.
>
> ZFS at least probably is not able to replace UFS2 for everyone, at this
> time, anyway. Perhaps gjournal can be a replacement for softupdates for
> many people who do still need UFS2, but I'm not sure. I think in any
> case, any existing bugs that cause UFS2+softupdates to catastrophically
> fail in the event of power failures or system crashes need to be fixed.
> Making it easier for users to install a system with ZFS or gjournal does
> nothing for those who have existing systems with UFS2+softupdates, and
> those who cannot use ZFS or gjournal in the near future for whatever
> reason.
>
> That being said, I do agree that being able to support ZFS and gjournal
> in sysinstall or an alternative installer would be great.
>
> Nick
>



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