Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 19:45:36 GMT
From:      Kena <kena@vodka-pomme.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/121364: [gmirror] Removing all providers create a "zombie" mirror
Message-ID:  <200803041945.m24Jjas2065444@www.freebsd.org>
Resent-Message-ID: <200803041950.m24Jo8Am083942@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121364
>Category:       kern
>Synopsis:       [gmirror] Removing all providers create a "zombie" mirror
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 04 19:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Kena
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD 7.0-STABLE #0: Sun Mar  2 19:09:20 CET 2008
   root@fungus.kalhua:/usr/obj/usr/src/sys/GENERIC
>Description:
It is not possible to re-enable or re-activate a gmirror after all its providers have been removed with "gmirror remove", possibly while the array was rebuilding.



>How-To-Repeat:
(prepare two similarly sized disks da0 and da1)

1. gmirror label test1 da0 da1
2. newfs -U mirror/test1
3. gmirror remove test1 da1
4. gmirror insert test1 da1
5. (while da1 is rebuilding:) gmirror remove test1 da0
6. gmirror remove test1 da1

(this causes a failure in the rebuild of da1)

Here the intent is to "reload" the array completely from da0, but all operations fail:

- gmirror insert test1 da0 => fails with "test1 does not exist"

- gmirror activate test1 da0 -> fails with "test1 already activated"





>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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