Main index | Section 8 | Options |
The first argument to graid3 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.amp; (2^n + 1).
Additional options include: |
| |
Do not synchronize after a power failure or system crash. Assumes device is in consistent state. | |
| |
Hardcode providers' names in metadata. | |
| |
Turn off autosynchronization of stale components. | |
| |
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
| |
| |
Manually specify array block size. Block size will be set equal to least common multiple of all component's sector sizes and specified value. Note that array sector size calculated as multiple of block size and number of regular data components. Big values may decrease performance and compatibility, as all I/O requests have to be multiple of sector size. | |
| |
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
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
| |
clear | Clear metadata on the given providers. |
configure | |
Configure the given device.
Additional options include: | |
| |
Turn on autosynchronization of stale components. | |
| |
Do not hardcode providers' names in metadata. | |
| |
Synchronize device after a power failure or system crash. | |
| |
Do not synchronize after a power failure or system crash. Assumes device is in consistent state. | |
| |
Hardcode providers' names in metadata. | |
| |
Turn off autosynchronization of stale components. | |
| |
Turn on round-robin reading. | |
| |
Turn off round-robin reading. | |
| |
Turn on verify reading. | |
| |
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.
If no number is given, new component will be added instead of first missed
component.
Additional options include: | |
| |
Hardcode providers' names in metadata. | |
remove | |
Remove the given component from the given array and clear metadata on it. | |
stop |
Stop the given arrays.
Additional options include: |
| |
Stop the given array even if it is opened. | |
list | See geom(8). |
status | |
See geom(8). | |
load | See geom(8). |
unload | |
See geom(8). | |
Additional options include:
| |
Be more verbose. | |
graid3 label -v -r data da0 da1 da2 newfs /dev/raid3/data mount /dev/raid3/data /mnt amp;... umount /mnt graid3 stop data graid3 unload
Create a RAID3 array, but do not use the automatic synchronization feature. Rebuild parity component:
graid3 label -n data da0 da1 da2 graid3 rebuild data da2
Replace one data disk with a brand new one:
graid3 remove -n 0 data graid3 insert -n 0 data da5
Documentation for sysctls kern.geom.raid3.* is missing.
GRAID3 (8) | January 15, 2012 |
Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void | ” |