Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 10:20:31 +0300
From:      Mamontov Roman <mr.xanto@gmail.com>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-stable@freebsd.org
Subject:   Re: How prevent GEOM providers to use adaX labels?
Message-ID:  <81818010.20200904102031@gmail.com>
In-Reply-To: <de39e07e-d2ff-73ec-c3de-aa879bf385f0@yandex.ru>
References:  <558957699.20200828191031@gmail.com> <de39e07e-d2ff-73ec-c3de-aa879bf385f0@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.
> You can try to use '-h' flag for `gmirror label` command.

How it can be done?

# gmirror status
       Name    Status  Components
mirror/swap  COMPLETE  diskid/DISK-SERIAL1p2 (ACTIVE)
                       diskid/DISK-SERIAL2p2 (ACTIVE)
# gmirror destroy swap
# gmirror status
# gmirror label -h -v -b round-robin swap diskid/DISK-SERIAL1p2
Metadata value stored on diskid/DISK-SERIAL1p2.
Done.
# gmirror insert -h swap diskid/DISK-SERIAL2p2
gmirror: No such device: swap.
# gmirror status
#




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