Date: Mon, 10 Jun 2013 23:16:51 +0300 From: Mikolaj Golub <trociny@FreeBSD.org> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-fs@FreeBSD.org Subject: Re: hast: can't restore after disk failure Message-ID: <20130610201650.GA2823@gmail.com> In-Reply-To: <alpine.BSF.2.00.1306101700300.69113@woozle.rinet.ru> References: <alpine.BSF.2.00.1306101700300.69113@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <console.info> cthulhu3 kernel: Jun 10 16:56:06 <daemon.err> > cthulhu3 hastd[14379]: [d1] (secondary) Unable to read metadata from > /dev/ada1p1: No such file or directory. > Jun 10 16:56:11 <console.info> cthulhu3 kernel: Jun 10 16:56:11 <daemon.err> > cthulhu3 hastd[765]: [d1] (secondary) Worker process exited ungracefully > (pid=14379, exitcode=66). > Jun 10 16:56:16 <console.info> cthulhu3 kernel: Jun 10 16:56:16 <daemon.err> > cthulhu3 hastd[14380]: [d1] (secondary) Unable to read metadata from > /dev/ada1p1: No such file or directory. > Jun 10 16:56:20 <console.info> cthulhu3 kernel: Jun 10 16:56:20 <daemon.err> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130610201650.GA2823>