From owner-freebsd-fs@FreeBSD.ORG Wed Jun 12 09:07:46 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 5C750224 for ; Wed, 12 Jun 2013 09:07:46 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id DE70D1B0D for ; Wed, 12 Jun 2013 09:07:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r5C97hdC024879; Wed, 12 Jun 2013 13:07:43 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Wed, 12 Jun 2013 13:07:43 +0400 (MSK) From: Dmitry Morozovsky To: Mikolaj Golub Subject: Re: hast: can't restore after disk failure In-Reply-To: <20130612084453.GA55502@gmail.com> Message-ID: References: <20130610201650.GA2823@gmail.com> <20130611060741.GA42231@gmail.com> <20130612084453.GA55502@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Wed, 12 Jun 2013 13:07:43 +0400 (MSK) 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: Wed, 12 Jun 2013 09:07:46 -0000 On Wed, 12 Jun 2013, Mikolaj Golub wrote: [snip a bit] > > nope, it does: > > > > root@cthulhu3:/# diskinfo /dev/ada1p1 > > /dev/ada1p1 512 999654686720 1952450560 0 1048576 1936954 16 63 > > root@cthulhu3:/# diskinfo /dev/ada0p1 > > /dev/ada0p1 512 999653638144 1952448512 0 1048576 1936952 16 63 Argh! Somehow ada1p1 got created in slightly different size (though bigger than necessary, and it was the source of the problem. recreating it with gpart fixes the problem. > Hm, looking in the source where this error is generated: > > cthulhu3 hastd[14379]: [d1] (secondary) Unable to read metadata from /dev/ada1p1: No such file or directory. > > it looks like hastd successfully read metadata from disk but failed to > parse it (did not found an entry). This usually happens when metadata > is not initialized by `hastctl create`. Well, error messages definitely could be improved :) -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------