Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2006 16:46:49 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        stable@FreeBSD.org
Subject:   g.* device stop while rebuilding
Message-ID:  <20061120163300.Y50845@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
Dear Pawel,

is it too difficult to forcibly stop rebuilding of a composite geom instance? 
It is often needed (or at least desirable), but all attemtpt fail:

# graid3 status r0h
     Name    Status  Components
raid3/r0h  DEGRADED  ad0h
                     ad4h
                     ad8h (20%)
# graid3 stop r0h  
Cannot destroy device r0h (error=16).

Even

# graid3 unload  
Could not unload module: Device busy.

I can remove provider which are in rebuild state:

# graid3 remove -n2 r0h 
GEOM_RAID3: Device r0h: provider ad8h disconnected.
GEOM_RAID3: Device r0h: rebuilding provider ad8h stopped.

But this destroys rebuild state completely even when r3 device is read-only.

The same state for gmirror.

Any hints? Thanks in advance.

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061120163300.Y50845>