Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2010 11:10:14 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Garrett Cooper <gcooper@FreeBSD.org>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: bin/144521: geom(1) tool parsing non-subclass command broken
Message-ID:  <20100628091014.GB7123@garage.freebsd.pl>
In-Reply-To: <201006280650.o5S6o24A036420@freefall.freebsd.org>
References:  <201006280650.o5S6o24A036420@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--aVD9QWMuhilNxW9f
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 28, 2010 at 06:50:02AM +0000, Garrett Cooper wrote:
> The following reply was made to PR bin/144521; it has been noted by GNATS.
>=20
> From: Garrett Cooper <gcooper@FreeBSD.org>
> To: "Andrey V. Elsukov" <ae@freebsd.org>
> Cc: bug-followup@freebsd.org
> Subject: Re: bin/144521: geom(1) tool parsing non-subclass command broken
> Date: Sun, 27 Jun 2010 23:45:01 -0700
>=20
>  2010/6/27 Andrey V. Elsukov <ae@freebsd.org>:
>  > Hi, Garrett
>  >
>  > Do you still have this problem? I can't reproduce it
>  > on 9.0-CURRENT.
> =20
>  Hi Andrey,
>      Does this work for you?
> =20
>  # geom label help
>  usage: geom label clear [-v] dev ...
>         geom label create [-v] name dev
>         geom label destroy [-fv] name ...
>         geom label dump dev ...
>         geom label label [-v] name dev
>         geom label stop [-fv] name ...
>         geom label help
>         geom label list [name ...]
>         geom label status [-s] [name ...]
>         geom label load [-v]
>         geom label unload [-v]
>  # geom label load -v
>  geom: Command 'load' not available.
> =20
>  I am still running an older version of CURRENT though, due to
>  stability issues on later versions that I've run into...

The 'load' command might be unavailable for two main reasons:
1. GEOM_LABEL class is already loaded or is part of the kernel.
2. Kernel module can't be found.

To check for 1, try:

	# kldstat -v | grep g_label

To check for 2, try:

	# ktrace geom label load
	# kdump | grep -1 geom_label

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--aVD9QWMuhilNxW9f
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkwoZvUACgkQForvXbEpPzSOtgCeI/wvWY54lfHqTfqlP2kH9l2w
CkEAmwR4U/I93y6xWHWQJTzgw6JwFNdu
=f8n0
-----END PGP SIGNATURE-----

--aVD9QWMuhilNxW9f--



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