Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Dec 2016 14:11:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215119] gmirror stop not possible when labels present
Message-ID:  <bug-215119-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215119

            Bug ID: 215119
           Summary: gmirror stop not possible when labels present
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: phk@FreeBSD.org

I have mirrored two disks which present their hw-serial numbers as diskid
labels.

When I stop this mirror, it is immediately picked up again via the labels.

When I stop that instance of the mirror, it is immediately picked up via the
main providers:

        root@hex:/ # gmirror status
             Name    Status  Components
        mirror/m2  COMPLETE  ada4 (ACTIVE)
                             ada6 (ACTIVE)
        root@hex:/ # gmirror stop m2
        root@hex:/ # gmirror status
             Name    Status  Components
        mirror/m2  COMPLETE  diskid/DISK-9XF0GDQ7 (ACTIVE)
                             diskid/DISK-9SP13XMP (ACTIVE)
        root@hex:/ # gmirror stop m2
        root@hex:/ # gmirror status
             Name    Status  Components
        mirror/m2  COMPLETE  ada4 (ACTIVE)
                             ada6 (ACTIVE)

Workaround: `gmirror configure -h m2` configures the provider name in the
gmirror metadata and prevents this.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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