[Bug 215119] gmirror stop not possible when labels present

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 7 14:11:48 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215119

            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 at FreeBSD.org
          Reporter: phk at 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 at hex:/ # gmirror status
             Name    Status  Components
        mirror/m2  COMPLETE  ada4 (ACTIVE)
                             ada6 (ACTIVE)
        root at hex:/ # gmirror stop m2
        root at hex:/ # gmirror status
             Name    Status  Components
        mirror/m2  COMPLETE  diskid/DISK-9XF0GDQ7 (ACTIVE)
                             diskid/DISK-9SP13XMP (ACTIVE)
        root at hex:/ # gmirror stop m2
        root at 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.

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


More information about the freebsd-bugs mailing list