[Bug 276547] 'glabel label' command fails to set up label on a GEOM provider

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 Jan 2024 19:38:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276547

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
I suspect that this is because something is holding /dev/ada0p1 open.  (For
instance, is it providing a mounted filesystem?)  "glabel label" needs to write
data to the last sector of the provider and so must open the device for
writing, while "glabel create" creates a temporary label and so does not need
to do this.

This might be "functions as designed," though the error message leaves
something to be desired..

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