hast: can't restore after disk failure

Dmitry Morozovsky marck at rinet.ru
Mon Jun 10 13:13:53 UTC 2013


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 at 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 at cthulhu3:/# hastctl role secondary d1
root at 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 at 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!


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list