[Bug 232314] [gvinum] stop ignores parameters

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 16 10:54:32 UTC 2018


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

            Bug ID: 232314
           Summary: [gvinum] stop ignores parameters
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: noah.bergbauer at tum.de

>From the gvinum(8) man page:

     stop [-f] [volume | plex | subdisk]
             Terminate access to the objects, or stop gvinum if no parameters
             are specified.

A quick look at the implementation however shows that the stop command never
even attempts to look at any parameters and always falls back to unloading the
entire kernel module.

This is quite unfortunate in practice as I have no idea how one is supposed to
gracefully detach objects (removing a volume, removing a plex, etc) since the
detach command refuses to operate on running objects. The setstate command
helps but considering that the docs say it is meant for diagnostics only and I
have already panicked my kernel once while testing it I'd rather not use it in
a production environment.

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


More information about the freebsd-bugs mailing list