From owner-freebsd-fs@FreeBSD.ORG Tue Feb 3 15:03:58 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 814FA106564A for ; Tue, 3 Feb 2009 15:03:58 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 41ECB8FC19 for ; Tue, 3 Feb 2009 15:03:57 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by an-out-0708.google.com with SMTP id b38so841793ana.13 for ; Tue, 03 Feb 2009 07:03:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=K4kIMsvQjEDm4KXsKU1ifckFb/2YNQ64BnCsfkDNGsQ=; b=E+4VttUXEiYQCJAntmIX23rAFOWFCZMQp8TngG+yEe1xtBs+U8rntFIcFkRwkyHmR3 nGchQiZo62V2II9iohkidzGM/JZe1se32/29tVnxreSB1Cv7EHQcWsxhnQU5r/GTBaP1 crcE0GIci8IXS52B4LCsNQzxD8Jy2GfggghBo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=xshraO718UGwGi6f4H/KV/kq62tupTgsy7HPOezSM7NM7dDi/jJe6XLv8pg6ZG9eJw WDEoYt9Sc8Tq8tBImX9q4LuErRyXiArqB7BAwFt+w9zBYhyPUQwaBmvFW+JO58qlVmE8 DMfR6UNxACTgrMLi6rAZJWH/pAkyOyilT950Y= MIME-Version: 1.0 Received: by 10.100.211.3 with SMTP id j3mr3674965ang.42.1233671608456; Tue, 03 Feb 2009 06:33:28 -0800 (PST) Date: Tue, 3 Feb 2009 16:33:28 +0200 Message-ID: From: Dan Cojocar To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: zfs replace disk has failed 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: Tue, 03 Feb 2009 15:03:58 -0000 Hello all, In a mirror(ad1,ad2) configuration one of my disk(ad1) had failed, after replacing the failed disk with a new one using: zpool replace tank ad1 I have noticed that the replace is taking too long and that the system is not responding, after restart the new disk was not recognized any more in bios :(, I have tested also in another box and the disk was not recognized there too. I have installed a new one on the same location (ad1 I think). Then the zpool status has reported something like this (this is from memory because I have made many changes back then, I don't remember exactly if the online disk was ad1 or ad2): zpool status pool: tank state: DEGRADED scrub: none requested config: NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 mirror DEGRADED 0 0 0 replacing UNAVAIL 0 387 0 insufficient replicas 10193841952954445329 REMOVED 0 0 0 was /dev/ad1/old 9318348042598806923 FAULTED 0 0 0 was /dev/ad1 ad2 ONLINE 0 0 0 At this stage I was thinking that if I will attach the new disk (ad1) to the mirror I will get sufficient replicas to detach 9318348042598806923 (this one was the disk that has failed the second time), so I did an attach, after the resilvering process has completed with success, I had: zpool status pool: tank state: DEGRADED scrub: none requested config: NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 mirror DEGRADED 0 0 0 replacing UNAVAIL 0 387 0 insufficient replicas 10193841952954445329 REMOVED 0 0 0 was /dev/ad1/old 9318348042598806923 FAULTED 0 0 0 was /dev/ad1 ad2 ONLINE 0 0 0 ad1 ONLINE 0 0 0 And I'm not able to detach 9318348042598806923 :(, and another bad news is that if I try to access something under /tank the operation is hanging, eg: if I do a ls /tank is freezing and if I do in another console: zpool status which was working before ls, now it's freezing too. What should I do next? Thanks, Dan