Re: Help! zpool corrupted!

From: army.of.root <army.of.root_at_googlemail.com>
Date: Tue, 03 Mar 2009 01:18:06 +0100
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
Received on Mon Mar 02 2009 - 23:42:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC