bin/144521: geom(1) tool parsing non-subclass command broken

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jun 28 09:10:40 UTC 2010


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.
> 
> From: Garrett Cooper <gcooper at FreeBSD.org>
> To: "Andrey V. Elsukov" <ae at freebsd.org>
> Cc: bug-followup at freebsd.org
> Subject: Re: bin/144521: geom(1) tool parsing non-subclass command broken
> Date: Sun, 27 Jun 2010 23:45:01 -0700
> 
>  2010/6/27 Andrey V. Elsukov <ae at freebsd.org>:
>  > Hi, Garrett
>  >
>  > Do you still have this problem? I can't reproduce it
>  > on 9.0-CURRENT.
>  
>  Hi Andrey,
>      Does this work for you?
>  
>  # 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.
>  
>  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

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20100628/39f91c7e/attachment.pgp


More information about the freebsd-geom mailing list