The
gstripe
utility is used for setting up a stripe on two or more disks.
The striped device can be configured using two different methods:
"manual"
or
"automatic".
When using the
"manual"
method, no metadata are stored on the devices, so the striped
device has to be configured by hand every time it is needed.
The
"automatic"
method uses on-disk metadata to detect devices.
Once devices are labeled, they will be automatically detected and
configured.
The first argument to
gstripe
indicates an action to be performed:
create
|
Set up a striped device from the given devices with specified
name.
This is the
"manual"
method and the stripe will not exist after a reboot (see
DESCRIPTION
above).
The kernel module
geom_stripe.ko
will be loaded if it is not loaded already.
|
label
|
Set up a striped device from the given devices with the specified
name.
This is the
"automatic"
method, where metadata are stored in every device's last sector.
The kernel module
geom_stripe.ko
will be loaded if it is not loaded already.
|
stop
|
Turn off an existing striped device by its
name.
This command does not touch on-disk metadata!
|
destroy
|
|
Same as
stop.
|
clear
|
Clear metadata on the given devices.
|
dump
|
Dump metadata stored on the given devices.
|
list
|
See
geom(8).
|
status
|
See
geom(8).
|
load
|
See
geom(8).
|
unload
|
See
geom(8).
|
Additional options:
-f
|
Force the removal of the specified striped device.
|
-h
|
Hardcode providers' names in metadata.
|
-s stripesize
|
|
Specifies size of stripe block in bytes.
The
stripesize
must be a multiple of the largest sector size of all the providers.
|
-v
|
Be more verbose.
|