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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 09, 2009 at 04:57:30PM +0200, Dan Naumov wrote:
> > UFS2+SoftUpdates works fine on properly configured UFS2 - and very fast.
> Yes, UFS2+SoftUpdates is very fast, however, in the case of a power
> loss or having to pull the plug on a locked up system, it has a
> noticeably higher chance of leaving you with an unbootable system than
> if you were using Linux with ext3/ext4 or Windows with NTFS.

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?20090609172142.GA92146>