From owner-freebsd-fs@FreeBSD.ORG Sun Jul 11 22:39:56 2010 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 DD31F106564A for ; Sun, 11 Jul 2010 22:39:56 +0000 (UTC) (envelope-from zw_uk@hotmail.com) Received: from bay0-omc4-s28.bay0.hotmail.com (bay0-omc4-s28.bay0.hotmail.com [65.54.190.230]) by mx1.freebsd.org (Postfix) with ESMTP id C9A888FC19 for ; Sun, 11 Jul 2010 22:39:56 +0000 (UTC) Received: from BAY150-W47 ([65.54.190.199]) by bay0-omc4-s28.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 11 Jul 2010 15:38:55 -0700 Message-ID: X-Originating-IP: [81.5.176.185] From: S M To: Date: Sun, 11 Jul 2010 22:38:56 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 11 Jul 2010 22:38:55.0953 (UTC) FILETIME=[D88B5410:01CB2149] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ZFS - Unable to replace replacing drive X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2010 22:39:56 -0000 Hi all=2C Can anyone help with a ZFS problem I've been having? I have a single ZFS po= ol as shown below: # zpool status pool: vault state: DEGRADED scrub: resilver completed after 0h8m with 0 errors on Sun Jul 11 22:18:27 = 2010 config: NAME STATE READ WRITE CKSUM vault DEGRADED 0 0 0 mirror ONLINE 0 0 0 da0.eli ONLINE 0 0 0 da8.eli ONLINE 0 0 0 ad4.eli ONLINE 0 0 0 mirror DEGRADED 0 0 0 da1.eli ONLINE 0 0 0 10.0M resilv= ered replacing UNAVAIL 0 7.42K 0 insufficient= replicas 176228571956779269 UNAVAIL 0 7.79K 0 was /dev/ad6= .eli 1650754158582652028 UNAVAIL 0 7.81K 0 was /dev/da9= 9.eli da9.eli ONLINE 0 0 0 10.0M resilv= ered errors: No known data errors However I can't seem to get rid of the replacing drives. What happened was = that I tried to replace /dev/ad6.eli with /dev/da99.eli (because ad6.eli br= oke) and da99.eli was also faulty and so failed the replace. How do I get rid of them? The array is otherwise healthy.... # zpool offline vault 176228571956779269 cannot offline 176228571956779269: no valid replicas # zpool offline vault 1650754158582652028 cannot offline 1650754158582652028: no valid replicas # zpool detach vault 1650754158582652028 cannot detach 1650754158582652028: no valid replicas # zpool detach vault 176228571956779269 cannot detach 176228571956779269: no valid replicas replace doeesn't work either. ZDB returns: vault version=3D14 name=3D'vault' state=3D0 txg=3D173963 pool_guid=3D14228437791114878229 hostid=3D4269824854 hostname=3D'vault.internal' vdev_tree type=3D'root' id=3D0 guid=3D14228437791114878229 children[0] type=3D'mirror' id=3D0 guid=3D15203813302661836458 metaslab_array=3D23 metaslab_shift=3D34 ashift=3D12 asize=3D2000394125312 is_log=3D0 children[0] type=3D'disk' id=3D0 guid=3D7238937831460639650 path=3D'/dev/da0.eli' whole_disk=3D0 DTL=3D51 children[1] type=3D'disk' id=3D1 guid=3D14125934351009663627 path=3D'/dev/da8.eli' whole_disk=3D0 DTL=3D53 children[2] type=3D'disk' id=3D2 guid=3D8553277371515810839 path=3D'/dev/ad4.eli' whole_disk=3D0 DTL=3D169 children[1] type=3D'mirror' id=3D1 guid=3D14672070090293526603 metaslab_array=3D118 metaslab_shift=3D34 ashift=3D12 asize=3D2000394125312 is_log=3D0 children[0] type=3D'disk' id=3D0 guid=3D4020825290461516758 path=3D'/dev/da1.eli' whole_disk=3D0 DTL=3D123 children[1] type=3D'replacing' id=3D1 guid=3D496235429895718168 whole_disk=3D0 children[0] type=3D'disk' id=3D0 guid=3D176228571956779269 path=3D'/dev/ad6.eli' whole_disk=3D0 not_present=3D1 DTL=3D54 children[1] type=3D'disk' id=3D1 guid=3D1650754158582652028 path=3D'/dev/da99.eli' whole_disk=3D0 not_present=3D1 DTL=3D168 children[2] type=3D'disk' id=3D2 guid=3D5694121814811722857 path=3D'/dev/da9.eli' whole_disk=3D0 DTL=3D120 uname -a: FreeBSD vault.internal 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: = Thu Jul 1 09:47:23 UTC 2010 sm@vault.internal:/usr/obj/usr/src/sys/vau= lt amd64 How do I fix this? ZFS says that the array is degraded but it isn't really= =2C I just can't get rid of this. =20 _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ We want to hear all your funny=2C exciting and crazy Hotmail stories. Tell = us now=