From owner-freebsd-current@FreeBSD.ORG Tue Mar 3 00:42:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3798E1065670 for ; Tue, 3 Mar 2009 00:42:18 +0000 (UTC) (envelope-from army.of.root@googlemail.com) Received: from mail-fx0-f158.google.com (mail-fx0-f158.google.com [209.85.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5868FC13 for ; Tue, 3 Mar 2009 00:42:17 +0000 (UTC) (envelope-from army.of.root@googlemail.com) Received: by fxm2 with SMTP id 2so2198617fxm.43 for ; Mon, 02 Mar 2009 16:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=29IajPQusQgCzRrHHSUADKvwidGK9BWFP1FtKMH7/fU=; b=NZD/5z/knTppoGmk3MufGbVZOdPluz/Sw34EpIt0VUcNyzx6Jpux2I8BK7cn9RoTn6 g094+TBLJnbuRzOvcmZw+mOhugzvVqS3R1i3MtAdnHkV0zne4Y3bp4I7btIgXOuOByeX L5Ofxa08SE1XTgR7JevQUITXQjU/HR4HxOlrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vhVJRHezmLVrRpCmauhOx7E3JvDEkXG3sqFlVQjkMbs9CuuePUbuApfMBSU0OxSFh7 jRqj3mc9jDYTO8P5f96WlTUEdTkMIh9p+CjWE6msTMOH3II4og1F+mlUvA7xlgWCDxHB EGV+NXgMjGtt9syPlIAmaWKZu4tB3IMSW55rg= Received: by 10.86.33.10 with SMTP id g10mr3135878fgg.47.1236039488604; Mon, 02 Mar 2009 16:18:08 -0800 (PST) Received: from ?192.168.2.24? (p5486BFAE.dip.t-dialin.net [84.134.191.174]) by mx.google.com with ESMTPS id 4sm46377fgg.49.2009.03.02.16.18.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Mar 2009 16:18:08 -0800 (PST) Message-ID: <49AC773E.8030601@googlemail.com> Date: Tue, 03 Mar 2009 01:18:06 +0100 From: "army.of.root" User-Agent: Thunderbird 2.0.0.17 (X11/20081028) MIME-Version: 1.0 To: Cache References: In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: Help! zpool corrupted! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 00:42:18 -0000 Cache wrote: > I have FreeBSD 8.0-CURRENT r188913M (amd64) on notebook with dual core Turion and 4G of RAM. Disk controller is AMD SB600. Single HDD - SATA-150 250G WD2500BEVS, ad4 at ata2, formatted with one ufs root partition 256M (ad4s1a) and ZFS pool (ver. 6 from FreeBSD 7-STABLE, ad4s1d) on rest of the disk. On ZFS pool I have about ten datasets: /root /usr /home /usr/src etc. > > Now I have zpool status "One or more devices has experienced an error...". When I run scrubing, I see many errors in pool. Every scrub after reboot displays different amount of errors: 47, 176 - or ~24000. > Disk and disk controller seems to be OK, checked with mhdd, but with hw.ata.ata_dma=1 there are error messages in console sometimes (something like 'DMA error'. Sorry, I can't explain its. I don't save its last time and now trying to reproduce). > > When I set hw.ata.ata_dma=0 in loader.conf, there are no errors in console. > > With 'zfs mount -a' command terminal not returns command prompt, but system not freezes - any typing echoed to display and ctrl-alt-del reboots system as expected. I tried to mound datasets manually - system became thinking on /home and /usr. > > Does anybody know, how can I restore those two datasets or just make its temporary accessible for retrieving data? Any HOWTOs? I have some important data and many polished app configs on /home and just not want one more time installing of ~1000 ports... And yes, I stupid, because last backup was long time ago... :( Hi, this isnt very nice to say, but you knew you were running experimental code, that is supposed do do RAIDs, on a single HDD. ZFS can't really do its magic without redundancy. You could try to make a dd copy of the partition to another Harddrive to remove the possible hardware failure from the equation and try different stuff on that image. But i wouldnt trust a currupted filesystem, so the ports may be reinstalld anyway. If you're successful, please report here. regards