From owner-freebsd-fs@FreeBSD.ORG Mon Jun 10 20:16:57 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C4AC655 for ; Mon, 10 Jun 2013 20:16:57 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id B44701F17 for ; Mon, 10 Jun 2013 20:16:56 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id jg1so3326684bkc.20 for ; Mon, 10 Jun 2013 13:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=tLSLZFEJhnbdtPtOrDcAzRLa7J4sWOPNEVVfvgA0L0U=; b=WkgLgEmsrV+AhrpNwba245wtGAgcZe6dxgIPnrz10HbX36JyhorvD0SaMDDdBb5B7J t7q0Hs+omFM6eIhtR5d0eq6fpfz2lJFLF++w4FfmAHziwWNDlUSe4L8w5XRhhVEopMoB nYpB3QggbyreKsoDsnMb8dr6qbW3a8GOsy9cba1Wsx/JowgPxGf1zolyvsuXMSBzm72c 5fEWRaqDz9cuS7yqpWM71lyb+LV/ME1Qt71ji2Ds/v6HjuFrNiol3I5YMd+u+ORazwSx zSCE6DJD1eVpw4RtMFKoWw/c7EMKwkK2H9MslAmIQYG9aYa8tKdv6O5eXg0yc1DVkWhW l+Zw== X-Received: by 10.204.71.77 with SMTP id g13mr1767464bkj.50.1370895415702; Mon, 10 Jun 2013 13:16:55 -0700 (PDT) Received: from localhost ([178.150.115.244]) by mx.google.com with ESMTPSA id og1sm4474296bkb.16.2013.06.10.13.16.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Jun 2013 13:16:55 -0700 (PDT) Sender: Mikolaj Golub Date: Mon, 10 Jun 2013 23:16:51 +0300 From: Mikolaj Golub To: Dmitry Morozovsky Subject: Re: hast: can't restore after disk failure Message-ID: <20130610201650.GA2823@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 20:16:57 -0000 On Mon, Jun 10, 2013 at 05:13:44PM +0400, Dmitry Morozovsky wrote: > Dear colleagues, > > > stable/9 > > FreeBSD cthulhu3 9.1-STABLE-NEWCARP FreeBSD 9.1-STABLE-NEWCARP #6 > r251443M: Thu Jun 6 02:54:36 MSK 2013 > > ada1 failed and has been replaced. gpart created. But I can't insert new disk > into hast > > root@cthulhu3:/# hastctl status > Name Status Role Components > d0 complete secondary /dev/ada0p1 cthulhu4 > d1 - init /dev/ada1p1 cthulhu4 > d2 complete secondary /dev/ada2p1 cthulhu4 > d3 complete secondary /dev/ada3p1 cthulhu4 > zil3 complete secondary /dev/ada4p1 cthulhu4 > zil4 complete secondary /dev/ada4p2 cthulhu4 > > root@cthulhu3:/# hastctl role secondary d1 > root@cthulhu3:/# hastctl list d1 > d1: > role: secondary > provname: d1 > localpath: /dev/ada1p1 > extentsize: 0 (0B) > keepdirty: 0 > remoteaddr: cthulhu4 > replication: memsync > dirty: 0 (0B) > statistics: > reads: 0 > writes: 0 > deletes: 0 > flushes: 0 > activemap updates: 0 > local errors: read: 0, write: 0, delete: 0, flush: 0 > root@cthulhu3:/# tail -2 /var/log/console.log > Jun 10 16:56:06 cthulhu3 kernel: Jun 10 16:56:06 > cthulhu3 hastd[14379]: [d1] (secondary) Unable to read metadata from > /dev/ada1p1: No such file or directory. > Jun 10 16:56:11 cthulhu3 kernel: Jun 10 16:56:11 > cthulhu3 hastd[765]: [d1] (secondary) Worker process exited ungracefully > (pid=14379, exitcode=66). > Jun 10 16:56:16 cthulhu3 kernel: Jun 10 16:56:16 > cthulhu3 hastd[14380]: [d1] (secondary) Unable to read metadata from > /dev/ada1p1: No such file or directory. > Jun 10 16:56:20 cthulhu3 kernel: Jun 10 16:56:20 > cthulhu3 hastd[765]: [d1] (secondary) Worker process exited ungracefully > (pid=14380, exitcode=66). > > Any hints? Thanks! Have you run hastctl create to initialize metadata? -- Mikolaj Golub