linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: "Rodrigo E. De León Plicet" <rdeleonp@gmail.com>
Cc: Florian Weimer <fw@deneb.enyo.de>,
	Daniel Kozlowski <dan.kozlowski@gmail.com>,
	linux-btrfs@vger.kernel.org
Subject: Re: Is there a more aggressive fixer than btrfsck?
Date: Thu, 1 Jul 2010 06:09:43 -0400	[thread overview]
Message-ID: <20100701100943.GR25967@think> (raw)
In-Reply-To: <AANLkTimVLjQfRjJFeHVI0NLEEE64iYtqLqYvZUQ6X_B7@mail.gmail.com>

On Wed, Jun 30, 2010 at 10:38:18PM -0500, Rodrigo E. De Le=F3n Plicet w=
rote:
> On Wed, Jun 30, 2010 at 11:47 AM, Florian Weimer <fw@deneb.enyo.de> w=
rote:
> > ZFS doesn't need a fsck because you have throw away the file system
> > and restore from backup for certain types of corruption:
> >
> > | What can I do if ZFS file system panics on every boot?
> > [...]
> > | This will remove all knowledge of pools from your system. You wil=
l
> > | have to re-create your pool and restore from backup.
> >
> > <http://hub.opensolaris.org/bin/view/Community+Group+zfs/faq#HWhatc=
anIdoifZFSfilesystempanicsoneveryboot>
>=20
>=20
> They *do* make it clear when could something like that happen.
>=20
> >From the same URL:
>=20
> "ZFS is designed to survive arbitrary hardware failures through the
> use of redundancy (mirroring or RAID-Z). Unfortunately, certain
> failures in *non-replicated* configurations can cause ZFS to panic
> when trying to load the pool. This is a bug, and will be fixed in the
> near future (along with several other nifty features, such as
> background scrubbing)."
>=20
> "Non-replicated configuration" boils down to no mirroring or parity
> checking (basically RAID-0 or similar); such a thing implies:

Memory corruptions and other problems make it impossible to catch every
single class of error on commodity hardware.  fsck is the last line of
defense between you and restoring from backup, especially if the size o=
f
the corruption is relatively small in a large FS.

-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2010-07-01 10:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02  2:29 Is there a more aggressive fixer than btrfsck? ulmo
2010-06-02 15:56 ` Sean Bartell
2010-06-28 13:48   ` Daniel Kozlowski
2010-06-29  2:31     ` Rodrigo E. De León Plicet
2010-06-29 10:37       ` Daniel Kozlowski
2010-06-29 16:34         ` Hubert Kario
2010-06-29 23:19           ` Anthony Roberts
2010-06-29 21:36         ` Freddie Cash
2010-06-29 22:22           ` Sean Bartell
2010-06-30  1:32             ` Chris Mason
     [not found]       ` <87eifov564.fsf@mid.deneb.enyo.de>
2010-07-01  3:38         ` Rodrigo E. De León Plicet
2010-07-01 10:09           ` Chris Mason [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100701100943.GR25967@think \
    --to=chris.mason@oracle.com \
    --cc=dan.kozlowski@gmail.com \
    --cc=fw@deneb.enyo.de \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=rdeleonp@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).