From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 18:31:05 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29DD71065670 for ; Mon, 20 Oct 2008 18:31:05 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id A52DB8FC1D for ; Mon, 20 Oct 2008 18:31:03 +0000 (UTC) (envelope-from artemb@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so585758eyi.7 for ; Mon, 20 Oct 2008 11:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=qA8FmOt1M4VSYcv7oQzFF2PXYz/qIS3aAn2/DxloPXM=; b=Sc26uVd3C05v98g58jkIejxTiJMW0AwKau0JFknjB6Fuun8W5ibKZfro64BTkaCHor QxwlXUpdUNl+Q7liNuoORnIefoidXCn3ViPJto3mM+EqNYJqpPzfx5d+OHAyamUaA0dV HgsGSUP+LPCCry4awj8RazRasOq1HGFKjfinQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=pTkseWEBShQCNnHdU5Fqgjqv1MAVuSnzlxeahBx6E0yBtNxobuFS0fp1xFumonjXMh xnUhZ6hOLTOxUqi6C1mNeEuIDxd3EF2twiLfDUa5JzTiW7JlCe8f/7WjJnoFov/UMkBB 3BSOapi7HF+QKOgC2Hw9N29lKCoZ3XZVWnlos= Received: by 10.210.46.12 with SMTP id t12mr7618999ebt.22.1224525626290; Mon, 20 Oct 2008 11:00:26 -0700 (PDT) Received: by 10.210.13.13 with HTTP; Mon, 20 Oct 2008 11:00:26 -0700 (PDT) Message-ID: Date: Mon, 20 Oct 2008 11:00:26 -0700 From: "Artem Belevich" Sender: artemb@gmail.com To: JoaoBR In-Reply-To: <200810201518.01678.joao@matik.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810171530.45570.joao@matik.com.br> <20081020164831.GA8016@icarus.home.lan> <45836B9A-CB6E-4B95-911E-0023230B8F82@mac.com> <200810201518.01678.joao@matik.com.br> X-Google-Sender-Auth: 96040931b4cb9ffd Cc: Jeremy Chadwick , freebsd-stable@freebsd.org Subject: Re: constant zfs data corruption X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 18:31:05 -0000 > all right and understood but shouldn't something as fsck should correct the > error? Seems kind of problematic to me mounting zfs in single user mode, > deleting the file and restarting the OS ? According to Sun's documents, removing corrupted file seems to be 'official' way to get rid of the problem http://docs.sun.com/app/docs/doc/819-5461/gbctx?a=view If the damage is within a file data block, then the file can safely be removed, thereby clearing the error from the system. If the files have something important and you want to recover uncorrupted parts, here's what you can try: http://blogs.sun.com/relling/entry/holy_smokes_a_holey_file --Artem