kern/121364: [gmirror] Removing all providers create a "zombie"
mirror
Kena
kena at vodka-pomme.net
Tue Mar 4 19:50:08 UTC 2008
>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 at 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:
More information about the freebsd-bugs
mailing list