| Main index | Section 8 | Options |
| help | List all available commands for the given class. |
| list | Print detailed information (within the given class) about all geoms (if no additional arguments were specified) or the given geoms. This command is only available if the given class exists in the kernel. Additional options include: |
| | |
| Print information for geoms without providers. | |
| status | |
|
Print general information (within the given class) about all geoms
(if no additional arguments were specified) or the given geoms.
This command is only available if the given class exists in the kernel.
Additional options include: | |
| | |
|
When used with
| |
| | |
| Report statuses for geoms instead of providers. | |
| | |
| Produce script-friendly output. | |
| load | Load the kernel module that implements the given class. This command is only available if the class does not yet exist in the kernel and the file geom_<class > .ko can be found in one of the directories specified in kern.module_path sysctl. |
| unload | |
| Unload the kernel module which implements the given class. This command is only available if the given class is loaded as a kernel module. | |
Additional options include:
| | |
| Print detailed information about the geom which provides provider-name. | |
| | |
| Display geoms hierarchy as a tree. | |
Class-specific commands are implemented as shared libraries which are stored in /lib/geom/ directory and are loaded via dlopen(3) function when the class name is known. When a class-specific shared library exists, a direct utility should also be available under the name of g.
Currently, classes aware of geom are:
| GEOM_LIBRARY_PATH | |
| Specifies the path where shared libraries are stored instead of /lib/geom/. Multiple paths can be specified with a colon-separated list of paths. | |
geom stripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2
or:
gstripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2
Print the list of all providers from the DISK class:
geom disk list
Unload a kernel module which implements the MD class:
geom md unload
| GEOM (8) | May 9, 2023 |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
