Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2022 16:39:04 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Robert Clausecker <fuz@fuz.su>
Cc:        Pawel Jakub Dawidek <pjd@freebsd.org>, fs@freebsd.org
Subject:   Re: Renaming glabel(8) labels
Message-ID:  <CAOtMX2hyQW=bGcjtYO3X6SWScWZWgjGvJEk0QCMxjSBigBjnYg@mail.gmail.com>
In-Reply-To: <Y45/XCTG%2BJMy1dfd@fuz.su>
References:  <Y45/XCTG%2BJMy1dfd@fuz.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 5, 2022 at 4:31 PM Robert Clausecker <fuz@fuz.su> wrote:
>
> Hi Pawel,
>
> I've recently had the use case of changing the glabel(8) label of
> a disk.  I noticed that there is no supported way to do that.  What
> worked is destroying and then recreating the label, though that
> requires first removing all consumers of the label.  It's also
> rather scary as there is no documentation on whether destroying the
> label and then recreating it would work.
>
> Is there a better way to change a glabel(8) label?  If not, could
> you implement a command to do so?
>
> Thank you for your help.
>
> Yours,
> Robert Clausecker
>
> --
> ()  ascii ribbon campaign - for an 8-bit clean world
> /\  - against html email  - against proprietary attachments

+1.  I've wanted to do this too.  And also I've needed to rename
gmultipath labels, which also requires destroying and recreating.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hyQW=bGcjtYO3X6SWScWZWgjGvJEk0QCMxjSBigBjnYg>