From owner-freebsd-fs@FreeBSD.ORG Mon Jul 6 18:21:06 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E907C106564A for ; Mon, 6 Jul 2009 18:21:06 +0000 (UTC) (envelope-from denismacpherson@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAEC8FC1D for ; Mon, 6 Jul 2009 18:21:06 +0000 (UTC) (envelope-from denismacpherson@gmail.com) Received: by qw-out-2122.google.com with SMTP id 5so1584690qwd.7 for ; Mon, 06 Jul 2009 11:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=TK8sJw0B6oB3kE3cMq5MWfYlowWEoRGCf3Yg4+sofM0=; b=UbR84AKaw3f4RTX7C91RaWlnivI6cCnH2JKuvLTiFuDWfPmrQJ0wPa6EcLZqPlzcGC /hah+LHJ7UZMMf1r82PblrzzkYBmDq3lhjlhH8k0e1TeQBI78XGdaEX5cFtosVyfY43l lcje25pUH/I5CI2tc8/yk2UUExoDFPSql5cg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=O6fUaUvFcKlvlRw4Ye65mCHTN04W7N+MvGo54DeU5j+3QJxFZBPMgtraIuUrcVZkj/ MxoVTv7Og+9YHlaZMeJ0oNuuPHj4NUWoUCo2/IZ7aaPVIWRBGdlvc+GlMzcQ7LMS/6HZ dlkpxwfi40JTlQfGcuj2pPEvZ6W6VU5w0KMLo= MIME-Version: 1.0 Received: by 10.229.86.145 with SMTP id s17mr2438841qcl.10.1246902997522; Mon, 06 Jul 2009 10:56:37 -0700 (PDT) Date: Mon, 6 Jul 2009 10:56:37 -0700 Message-ID: <7c82f7860907061056gb7b38e4s52b15ab0e664ffc6@mail.gmail.com> From: Denis MacPherson To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ZFS invalid vdev configuration X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: denis.macpherson@gmail.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 18:21:07 -0000 Having a issue with a raidz1 setup, I was testing some things out on a live cd and made a change in the bios for the sata to change it from AHCI to IDE, then before I booted back into FreeBSD I had changed this back so FreeBSD never saw any of these changes. When I booted back up, I was getting insufficient replicas corrupted data message. I tried to export the pool as I found some info on this helping some people but now I am unable to re-import the pool back. Below I have attached some of the outputs of various commands. Any help would be much appreciated. -------------------------------------------------------------------------------------------------------------------------------------- command: zpool import pool: datapool id: 5998882629718828483 state: FAULTED action: The pool cannot be imported due to damaged devices or data. config: datapool UNAVAIL insufficient replicas raidz1 UNAVAIL corrupted data ad14 ONLINE ad12 ONLINE ad10 ONLINE ad8 ONLINE ad16 ONLINE ad18 ONLINE command: zpool import datapool cannot import 'datapool': invalid vdev configuration command: dmesg ZFS filesystem version 6 ZFS storage pool version 6 acd0: DVDR at ata0-slave UDMA33 ad4: 152627MB at ata2-master SATA150 ad6: 953868MB at ata3-master SATA300 ad8: 953869MB at ata4-master SATA300 GEOM_LABEL: Label for provider ad4p1 is msdosfs/EFI. GEOM_LABEL: Label for provider ad4s1a is ufsid/493ee78d1bd00753. ad10: 953869MB at ata5-master SATA300 GEOM_LABEL: Label for provider ad6s1 is ext2fs/1.39-Aug092008. ad12: 953869MB at ata6-master SATA300 ad14: 953869MB at ata7-master SATA300 ad16: 953868MB at ata8-master SATA300 ad18: 953869MB at ata9-master SATA300 Trying to mount root from zfs:tank/root GEOM_LABEL: Label msdosfs/EFI removed. GEOM_LABEL: Label ufsid/493ee78d1bd00753 removed. GEOM_LABEL: Label for provider ad4s1a is ufsid/493ee78d1bd00753. GEOM_LABEL: Label ufsid/493ee78d1bd00753 removed. GEOM_LABEL: Label ext2fs/1.39-Aug092008 removed. command: zdb -l /dev/ad8 -------------------------------------------- LABEL 0 -------------------------------------------- version=6 name='datapool' state=0 txg=2498378 pool_guid=5998882629718828483 hostid=2846502798 hostname='' top_guid=2074816204479013297 guid=8852512481608149738 vdev_tree type='raidz' id=0 guid=2074816204479013297 nparity=1 metaslab_array=14 metaslab_shift=35 ashift=9 asize=6001199677440 children[0] type='disk' id=0 guid=11429030338875577754 path='/dev/ad14' devid='ad:WD-WCAU46148536' whole_disk=0 DTL=23 children[1] type='disk' id=1 guid=15556804307381672763 path='/dev/ad12' devid='ad:WD-WCAU44223223' whole_disk=0 DTL=22 children[2] type='disk' id=2 guid=11466465050580886753 path='/dev/ad10' devid='ad:WD-WCAU44223259' whole_disk=0 DTL=21 children[3] type='disk' id=3 guid=8852512481608149738 path='/dev/ad8' devid='ad:WD-WCAU44026431' whole_disk=0 DTL=20 children[4] type='disk' id=4 guid=12199743530994947046 path='/dev/ad16' devid='ad:WD-WCAU46152226' whole_disk=0 DTL=19 children[5] type='disk' id=5 guid=9333427139064108901 path='/dev/ad18' devid='ad:WD-WCAU46165741' whole_disk=0 DTL=18 -------------------------------------------- LABEL 1 -------------------------------------------- version=6 name='datapool' state=0 txg=2498378 pool_guid=5998882629718828483 hostid=2846502798 hostname='' top_guid=2074816204479013297 guid=8852512481608149738 vdev_tree type='raidz' id=0 guid=2074816204479013297 nparity=1 metaslab_array=14 metaslab_shift=35 ashift=9 asize=6001199677440 children[0] type='disk' id=0 guid=11429030338875577754 path='/dev/ad14' devid='ad:WD-WCAU46148536' whole_disk=0 DTL=23 children[1] type='disk' id=1 guid=15556804307381672763 path='/dev/ad12' devid='ad:WD-WCAU44223223' whole_disk=0 DTL=22 children[2] type='disk' id=2 guid=11466465050580886753 path='/dev/ad10' devid='ad:WD-WCAU44223259' whole_disk=0 DTL=21 children[3] type='disk' id=3 guid=8852512481608149738 path='/dev/ad8' devid='ad:WD-WCAU44026431' whole_disk=0 DTL=20 children[4] type='disk' id=4 guid=12199743530994947046 path='/dev/ad16' devid='ad:WD-WCAU46152226' whole_disk=0 DTL=19 children[5] type='disk' id=5 guid=9333427139064108901 path='/dev/ad18' devid='ad:WD-WCAU46165741' whole_disk=0 DTL=18 -------------------------------------------- LABEL 2 -------------------------------------------- version=6 name='datapool' state=0 txg=2498378 pool_guid=5998882629718828483 hostid=2846502798 hostname='' top_guid=2074816204479013297 guid=8852512481608149738 vdev_tree type='raidz' id=0 guid=2074816204479013297 nparity=1 metaslab_array=14 metaslab_shift=35 ashift=9 asize=6001199677440 children[0] type='disk' id=0 guid=11429030338875577754 path='/dev/ad14' devid='ad:WD-WCAU46148536' whole_disk=0 DTL=23 children[1] type='disk' id=1 guid=15556804307381672763 path='/dev/ad12' devid='ad:WD-WCAU44223223' whole_disk=0 DTL=22 children[2] type='disk' id=2 guid=11466465050580886753 path='/dev/ad10' devid='ad:WD-WCAU44223259' whole_disk=0 DTL=21 children[3] type='disk' id=3 guid=8852512481608149738 path='/dev/ad8' devid='ad:WD-WCAU44026431' whole_disk=0 DTL=20 children[4] type='disk' id=4 guid=12199743530994947046 path='/dev/ad16' devid='ad:WD-WCAU46152226' whole_disk=0 DTL=19 children[5] type='disk' id=5 guid=9333427139064108901 path='/dev/ad18' devid='ad:WD-WCAU46165741' whole_disk=0 DTL=18 -------------------------------------------- LABEL 3 -------------------------------------------- version=6 name='datapool' state=0 txg=2498378 pool_guid=5998882629718828483 hostid=2846502798 hostname='' top_guid=2074816204479013297 guid=8852512481608149738 vdev_tree type='raidz' id=0 guid=2074816204479013297 nparity=1 metaslab_array=14 metaslab_shift=35 ashift=9 asize=6001199677440 children[0] type='disk' id=0 guid=11429030338875577754 path='/dev/ad14' devid='ad:WD-WCAU46148536' whole_disk=0 DTL=23 children[1] type='disk' id=1 guid=15556804307381672763 path='/dev/ad12' devid='ad:WD-WCAU44223223' whole_disk=0 DTL=22 children[2] type='disk' id=2 guid=11466465050580886753 path='/dev/ad10' devid='ad:WD-WCAU44223259' whole_disk=0 DTL=21 children[3] type='disk' id=3 guid=8852512481608149738 path='/dev/ad8' devid='ad:WD-WCAU44026431' whole_disk=0 DTL=20 children[4] type='disk' id=4 guid=12199743530994947046 path='/dev/ad16' devid='ad:WD-WCAU46152226' whole_disk=0 DTL=19 children[5] type='disk' id=5 guid=9333427139064108901 path='/dev/ad18' devid='ad:WD-WCAU46165741' whole_disk=0 DTL=18