Интерактивная система просмотра системных руководств (man-ов)
graid3 (8)
>> graid3 (8) ( FreeBSD man: Команды системного администрирования )
BSD mandoc
NAME
graid3
- control utility for RAID3 devices
SYNOPSIS
label
[-Fhnrvw
]
nameprov prov prov ... clear
[-v
]
prov ... configure
[-adfFhnrRvwW
]
name rebuild
[-v
]
nameprov insert
[-hv
]
-n numbernameprov remove
[-v
]
-n numbername stop
[-fv
]
name ... list status load unload
DESCRIPTION
The
utility is used for RAID3 array configuration.
After a device is created, all components are detected and configured
automatically.
All operations such as failure detection, stale component detection, rebuild
of stale components, etc. are also done automatically.
The
utility uses on-disk metadata (the provider's last sector) to store all needed
information.
The first argument to
indicates an action to be performed:
label
Create a RAID3 device.
The last given component will contain parity data, whilst the others
will all contain regular data.
The number of components must be equal to 3, 5, 9, 17, etc. (2^n + 1).
Additional options include:
-F
Do not synchronize after a power failure or system crash.
Assumes device is in consistent state.
-h
Hardcode providers' names in metadata.
-n
Turn off autosynchronization of stale components.
-r
Use parity component for reading in round-robin fashion.
Without this option the parity component is not used at all for reading operations
when the device is in a complete state.
With this option specified random I/O read operations are even 40% faster,
but sequential reads are slower.
One cannot use this option if the
-w
option is also specified.
-w
Use verify reading feature.
When reading from a device in a complete state, also read data from the parity component
and verify the data by comparing XORed regular data with parity data.
If verification fails, an
Er EIO
error is returned and the value of the
kern.geom.raid3.stat.parity_mismatch
sysctl is increased.
One cannot use this option if the
-r
option is also specified.
clear
Clear metadata on the given providers.
configure
Configure the given device.
Additional options include:
-a
Turn on autosynchronization of stale components.
-d
Do not hardcode providers' names in metadata.
-f
Synchronize device after a power failure or system crash.
-F
Do not synchronize after a power failure or system crash.
Assumes device is in consistent state.
-h
Hardcode providers' names in metadata.
-n
Turn off autosynchronization of stale components.
-r
Turn on round-robin reading.
-R
Turn off round-robin reading.
-w
Turn on verify reading.
-W
Turn off verify reading.
rebuild
Rebuild the given component forcibly.
If autosynchronization was not turned off for the given device, this command
should be unnecessary.
insert
Add the given component to the existing array, if one of the components was
removed previously with the
remove
command or if one component is missing and will not be connected again.
Additional options include:
-h
Hardcode providers' names in metadata.
remove
Remove the given component from the given array and clear metadata on it.