Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2018 10:54:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232314] [gvinum] stop ignores parameters
Message-ID:  <bug-232314-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: noah.bergbauer@tum.de

>From the gvinum(8) man page:

     stop [-f] [volume | plex | subdisk]
             Terminate access to the objects, or stop gvinum if no paramete=
rs
             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 t=
he
detach command refuses to operate on running objects. The setstate command
helps but considering that the docs say it is meant for diagnostics only an=
d I
have already panicked my kernel once while testing it I'd rather not use it=
 in
a production environment.

--=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-232314-227>